[OS-JIRA] Created: (CAY-171) Multiple Domains Having DataMap with the same name

From: jir..bjectstyle.org
Date: Sun Jul 18 2004 - 21:30:46 EDT

  • Next message: Mike Kienenberger: "Re: [OS-JIRA] Updated: (CAY-160) Improved handling of database reconnects"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-171

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-171
        Summary: Multiple Domains Having DataMap with the same name
           Type: Improvement

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 Cayenne Core Library
                 CayenneModeler GUI
       Versions:
                 1.1 [BETA]

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Sun, 18 Jul 2004 9:30 PM
        Updated: Sun, 18 Jul 2004 9:30 PM

    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.

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Sun Jul 18 2004 - 21:30:48 EDT