Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1186

Versions history is lost after asset rename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • Hide
      • Go to workbench, to some project
      • Pick some asset type, lets say plain drl
      • Create new asset of this type
      • do some changes (put some text)
      • click on rename, select save and rename, confirm
      • do some additional changes
      • again save the drl file
      • Check offered versions
      • The oldest version will represent state after "save and rename operation"
      • There will be missing version representing state after file creation
      Show
      Go to workbench, to some project Pick some asset type, lets say plain drl Create new asset of this type do some changes (put some text) click on rename, select save and rename, confirm do some additional changes again save the drl file Check offered versions The oldest version will represent state after "save and rename operation" There will be missing version representing state after file creation
    • NEW
    • NEW

      The versions of the asset are kept just to the point of renaming. Each rename causes history cleanup and possibility to restore file to state after last rename.

      Acceptance tests

      On browsers: chrome, firefox and ie11

      • With assets:
        • drl, gdst, bpmn2, rdrl, wid, java, dsl RHPAM-969
          • Create asset of given type
          • Save multiple changes to this asset
          • Do changes, do not Save but Save and Rename
          • Restore asset to Version 1
          • Check project asset list
          • There will be both assets, the version 1 and the renamed one
        • bpmn
          • Save and rename throws an exception
        • solver-config - Misses Save And Rename feature PLANNER-1113
      • Check steps to reproduce for any asset type that offers rename feature
      • Then try to restore to version before renaming

      Note

      Issue discussed in comments of PR

              mbarkley_jira Max Barkley (Inactive)
              mbarkley_jira Max Barkley (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: