Service Packs and Hot Fixes
  1. Service Packs and Hot Fixes
  2. MNT-2474

WCM: Assets in in-flight worflow are allowed to be edited.

    Details

    • Type: Service Pack Request Service Pack Request
    • Status: Closed Closed (View Workflow)
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0.1
    • Component/s: Alfresco Explorer, WCM, Workflow
    • Labels:
      None
    • Environment:
      3.3.1 / Windows / Mysql / Tomcat
    • ACT Numbers:

      17918

      Description

      [ Steps to reproduce ]

      1. Create a web project
      2. On Step Four of the wizard - Configure Web Content Forms
      3. Click on Create Web form (select the web form attached from your filesystem)
      4. On Step Three of the wizard - Configure Workflow
      5. Select 'Yes' for: Do you want to apply a default workflow now? (because we need approval before submit.
      6. on Step Four of the wizard - Configure Web Content Forms
      7. Add the web form to the list and click configure workflow, choose Serial and add admin
      8. Click on Web Form details and chage the output path: /$

      {webapp}

      /test/$

      {name}

      .xml
      9. Create folder 'test' under user's sandbox (admin ok)
      7. Create a piece of content via the web form and check the submit box.
      8. Enter Label and Description
      9. Check admin task list
      10. Navigate to test folder

      [ Actual Result ]

      Asset available to be edited.

      [ Expected Result ]

      Asset not be available for editing as it's in in-flight workflow.

      [ Notes ]

      This is a regression as not reproducible on 2.2.4.
      Also, only reproducible if asset is under a folder (ok under ROOT)

      1. one-string-test.xsd
        0.4 kB
        Ricardo Vellozo
      1. file_edit.png
        41 kB
      2. form-workflow-under-root-test.png
        37 kB
      3. test-folder-workflow.png
        34 kB
      4. under-ROOT-after-submit.png
        46 kB
      5. under-ROOT-before-submit.png
        46 kB
      6. under-ROOT-test-after-submit.png
        47 kB
      7. under-ROOT-test-before-submit.png
        40 kB

        Issue Links

          Activity

          Hide
          dward added a comment -

          See updated steps to reproduce.

          Show
          dward added a comment - See updated steps to reproduce.
          Hide
          dward added a comment -

          Ben, please clarify the expected behaviour for case 1 and case 2 described by Max above.

          Show
          dward added a comment - Ben, please clarify the expected behaviour for case 1 and case 2 described by Max above.
          Hide
          Ben Hagan added a comment -

          This can be recreated without submission through web forms.

          1) Create a web project and configure all web assets to be submitted via simple workflow
          2) Create a folder within a user sandbox, and upload or create a file within the folder.
          3) Submit all changes to workflow i.e. submit to a user
          4) Navigate back to the file and note the edit icon is available.

          Ben.

          Show
          Ben Hagan added a comment - This can be recreated without submission through web forms. 1) Create a web project and configure all web assets to be submitted via simple workflow 2) Create a folder within a user sandbox, and upload or create a file within the folder. 3) Submit all changes to workflow i.e. submit to a user 4) Navigate back to the file and note the edit icon is available. Ben.
          Hide
          dward added a comment -

          Ben has managed to simplify the problem to the very simple steps above that do not even involve a web form. Note that the edit icon should not be displayed next to the file while it is in workflow and the file should not be editable.

          Show
          dward added a comment - Ben has managed to simplify the problem to the very simple steps above that do not even involve a web form. Note that the edit icon should not be displayed next to the file while it is in workflow and the file should not be editable.
          Hide
          Alan Davis added a comment -

          Reviewed changes: Appear to do as requested by Jan.
          Tried out changes from the UI and ran 2 test suits
          Updated copyright dates
          Merged changes to V4.0 (4.0.1)

          Show
          Alan Davis added a comment - Reviewed changes: Appear to do as requested by Jan. Tried out changes from the UI and ran 2 test suits Updated copyright dates Merged changes to V4.0 (4.0.1)
          Hide
          Alfresco QA Team added a comment -

          Isn't reproduced on Enterprise - v4.0.1 (864)

          Show
          Alfresco QA Team added a comment - Isn't reproduced on Enterprise - v4.0.1 (864)

            People

            • Assignee:
              Closed Bugs
              Reporter:
              Ricardo Vellozo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 4 hours, 30 minutes
                4d 4h 30m