Uploaded image for project: 'Share Application'
  1. Share Application
  2. SHA-320

DnD - Allow alt-key to be used as modifier to allow versioning

    Details

    • ACT Numbers:

      00657315

      Description

      Description
      When using 'upload' toolbar menu action on documentlibrary, or using DND, the added document if already exists is not versioned. The expected behaviour is to create new document with number appended to the name to distinguish it as a different document.

      The expected versioning of documents only occurs if "Upload New Version" or "check in" is done on the documents action menu.

      There are business cases where the default behaviour is wanted to be versioning versus new document in the DND and upload toolbar actions. It would be advantageous to provide an alternative via configuration or quick key option to afford the ability to version versus create new document in these cases.

      Workaround
      Customer provided patch that allows use of alt-key.

      The attached patch will allow user to hold alt-key when dragging and dropping files to Share document library to create new versions.

      • Alt pressed when DnD -> new version of file if file with same name exist
      • Alt not pressed -> file with unique name created if file with same name exist.

      Patch is for 4.3.a HEAD and modifies projects/slingshot/source/web/components/documentlibrary/documentlist.js

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                investigation Investigation Queue
                Reporter:
                jsoria Jennie Soria
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: