Uploaded image for project: 'Extended Templating Kit (closed)'
  1. Extended Templating Kit (closed)
  2. MGNLETK-8

Passing NodeData as a parameter to image generation job causes attempt to access the node data after session is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.2
    • 1.1.1
    • None
    • None

      Can be reproduced for example by accessing versioned content like http://localhost:8080/magnoliaAuthor/demo-project.html?mgnlVersion=1.0
      The problem doesn't occur always, but can be reproduced frequently specially if there is not high load on the server and sessions get closed quite quickly.
      Attached stacktrace.
      The problem occurs due to passing NodeData in STKParameterProvider as part of the STKParameter. Since the image generation is off loaded to separate thread and JCR sessions are kept alive per thread the NodeData and Content should never be passed around this way.

        Acceptance criteria

              gjoseph Magnolia International
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: