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

Transient objects do not work in ROP apps

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              cayenne_olga Olga Tkacheva
              Reporter:
              johnthuss 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