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

New flush action: unable to use meaningful FK mapped to primitive type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.M1
    • Component/s: Core Library
    • Labels:
      None

      Description

      Meaningful FK mapped to a primitive type always results in 0 value in the database. This is because primitive types create attribute change in the diff (from null to 0) and that diff operation overrides FK change operation (this is what actually changed in the new implementation).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ntimofeev Nikita Timofeev
                Reporter:
                ntimofeev Nikita Timofeev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 20m
                  20m