Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-171

Multiple Domains Having DataMap with the same name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1 [LEGACY]
    • 1.1 [LEGACY]
    • Core Library, Modeler
    • None

    Description

      DataDomain intention is to provide a namespace for entities.

      Still there is one issue where namespace abstraction breaks - if two domains in the same project have DataMaps (or JDBC DataNodes for that matter) that coincidentally have the same name, there is a conflict in saving these maps, as such maps are stored in the same directory under the same filename.

      A solution for the future release is to prepend DataDomain name to the map name (e.g. MyDomain.MyMap.map.xml).

      Current solution maybe to generate the default map name not just as "UntitledDataMap", but "MyDomain.UntitledDataMap", and then also do the validation on save for any name conflicts. At least this will make users aware of the problem.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: