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

To-one relationships are broken on the client

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2 branch
    • Fix Version/s: 1.2 branch
    • Component/s: Core Library
    • Labels:
      None

      Description

      CayenneContext (used by the client tier) incorrectly intercepts relationship queries, resulting in null to-one relationships. The original issue was reported by Marcin Skladaniec:

      http://objectstyle.org/cayenne/lists/cayenne-user/2006/04/0105.html

      I reproduced it with a simple unit test PersistentObjectInContextTst.testToOneRelationship()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrus Andrus Adamchik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: