Cayenne
  1. Cayenne
  2. CAY-500

To-one relationships are broken on the client

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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()

        Activity

        Andrus Adamchik created issue -
        Andrus Adamchik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andrus Adamchik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Sat Mar 21 00:51:04 PDT 2009 [ 1237621864637 ]
        Ari Maniatis made changes -
        Workflow jira [ 12456510 ] Cayenne workflow [ 12487095 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development