Cayenne
  1. Cayenne
  2. CAY-594

Renaming DataDomain in active model loses DataMap/DataNode information beneath it

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2 branch
    • Fix Version/s: Undefined future
    • Component/s: Modeler
    • Labels:
      None
    • Environment:
      OS X

      Description

      If you change the DataDomain name in a model, it will delete all DataMap and DataNode information under it. The only way to rename it is to edit the cayenne.xml file and re-open the model.

        Activity

        Hide
        Andrus Adamchik added a comment -

        This is just a visual perception - in my tests nothing is deleted, the Modeler simply collapses the tree on the left - you can doubleclick on the tree and everything opens up again. I guess we may change this behavior, to avoid tree modification, but this makes it a minor issue that we can fix later.

        Show
        Andrus Adamchik added a comment - This is just a visual perception - in my tests nothing is deleted, the Modeler simply collapses the tree on the left - you can doubleclick on the tree and everything opens up again. I guess we may change this behavior, to avoid tree modification, but this makes it a minor issue that we can fix later.
        Hide
        Andrus Adamchik added a comment -

        Re my last comment. "avoid tree modification" is the wrong way to put it - "avoid collapsing the tree" is more accurate.

        Show
        Andrus Adamchik added a comment - Re my last comment. "avoid tree modification" is the wrong way to put it - "avoid collapsing the tree" is more accurate.
        Hide
        Michael Gentry added a comment -

        I was actually trying to debug the issue and didn't see anything that looked like it would nuke the DataMap/DataNode under the DataDomain and was wondering if it was a visual issue, but didn't try saving the model to see if it had actually deleted it. Something about all that information disappearing was unsettling. This is definitely a post 1.2 thing, I think.

        Thanks!

        Show
        Michael Gentry added a comment - I was actually trying to debug the issue and didn't see anything that looked like it would nuke the DataMap/DataNode under the DataDomain and was wondering if it was a visual issue, but didn't try saving the model to see if it had actually deleted it. Something about all that information disappearing was unsettling. This is definitely a post 1.2 thing, I think. Thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Gentry
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development