Cayenne
  1. Cayenne
  2. CAY-1625

Transient objects do not work in ROP apps

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1B1
    • Fix Version/s: 3.1B1
    • Component/s: ROP
    • Labels:
    • Environment:
      Mac 10.6

      Description

      In addition the problem referenced in CAY-1624, transient objects don't work when using ROP because in the client template the relationship values (to-one and to-many) are null and are only initialized to non-null values when they are added to an ObjectContext. By modifying the template to initialize the relationship values to something non-null, transient objects can be worked with locally (but not still saved?). I don't know if that is the best solution, but here's basically what I did.

        Activity

        Olga Tkacheva made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Olga Tkacheva made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Olga Tkacheva [ cayenne_olga ]
        Olga Tkacheva made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.1M4 [ 12317958 ]
        Resolution Fixed [ 1 ]
        Andrus Adamchik made changes -
        John Huss made changes -
        Attachment client template transient.txt [ 12497643 ]
        John Huss made changes -
        Attachment revised client template transient.txt [ 12497697 ]
        John Huss made changes -
        Field Original Value New Value
        Attachment client template transient.txt [ 12497643 ]
        John Huss created issue -

          People

          • Assignee:
            Olga Tkacheva
            Reporter:
            John Huss
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 72h
              72h
              Remaining:
              Remaining Estimate - 72h
              72h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development