Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2509

Result of resolving lazily faulted relationships can be out-of-date

    XMLWordPrintableJSON

    Details

      Description

      Resolving lazily faulted to-one and to-many relationships can be out-of-date when you expect up-to-date data from database.

      This happened because of getting data from snapshot cache instead of database.

      Case:

      1) Create context

      2) Select Artist from database, then get artist's paintings

      3) direct update painting table

      4) Create new context

      5) Do step 2

      Painting from step 5 is not updated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aarrsseni Arseni Bulatski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m