Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14797

[CM] Concurrency issues for Visual Editing resulting in totally unpredictable outcome

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Won't Do
    • 14.6.2
    • None
    • None
    • None
    • Nova

    Description

      NodeFieldServiceImpl uses a system session, while the DocumentsServiceImpl uses a user session. That leads to severe concurrency issues with totally unexpected outcomes. ( I have not proven that is does, but it's likely to happen ).

      Also the NodeFieldServiceImpl uses the session as a instance variable. NodeFieldServiceImpl is used as a singleton, so it should not have any instance variables.

      Passing on the session as argument to each of the three methods solves these issues.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mrop Michiel Rop
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: