Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3845

Fix folder renaming/moving in raw tree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Designer-0.1.0
    • Fix Version/s: 60, Designer-1.0.0
    • Component/s: Studio Designer

      Description

      Moving folders in the raw tree results in a IOException in the server. Ex:

      Uncaught (in promise) Could not move resource from /nuxeo.war/ui/folder to /nuxeo.war/ui/folder2. Reason: {"entity-type":"exception","code":"java.io.IOException","status":500,"message":"Source '/Users/miguel/Repositories/nuxeo-cap/nuxeo-cap-6.0-HF32-tomcat/nxserver/data/studio/workspaces/project/project-#7-cloned-2017-02-22-10-26-26/studio/resources/nuxeo.war/ui/folder' is a directory"}
      

      This happens whenever the nuxeo-move-resource event is fired to move/rename a folder.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: