PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30936

Add defence from model listener polluting hibernate session 1st level cache

    Details

    • Similar Issues:
      Show 5 results 

      Description

      This fix prevents improper model listeners from polluting hibernate session 1st level cache.
      However to achieve this goal we will have to sacrifice's hibernate's uniqueness checking feature, this will cause us losing the concurrent modification detection.

      But this is a necessary evil to do, without this fix, a bad model listener will cause tricky uniqueness checking failure, it is very hard to locate the root cause,

      We suppose to define a batch of rules for what model listeners can do, what they can not do. Once we rule all model listeners' behaviors, it is better to add back the hibernate's uniqueness checking.

        Issue Links

          Activity

          Hide
          Tammy Fong added a comment -

          Committed on:
          Portal 6.2.x GIT ID: b52c38824c2f6875d67267beef7e8c337ecc5c11.

          Show
          Tammy Fong added a comment - Committed on: Portal 6.2.x GIT ID: b52c38824c2f6875d67267beef7e8c337ecc5c11.

            People

            • Assignee:
              Tammy Fong
              Reporter:
              Shuyang Zhou
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 34 weeks, 5 days ago

                Development

                  Structure Helper Panel