Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12608

ContentWorkflowHelper.doAction should restore content in request attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.9.5, 4.10.0
    • None
    • None
    • None
    • 4.10 M3
    • Oui

      During a content copy or a content edition ContentWorkflowHelper.doAction can be called several time on linked contents.
      ContentWorkflowHelper.doAction set the content in request attribute but never restore the current content.
      So the content in request attribut can changed several times during copy. Validator based on current content in request can failed.
      For example, when copying a container content in ODF, YearsEnumerator wait for a Container but can received a Course or CourseList in request because of linked contents.

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: