Uploaded image for project: 'Integrated'
  1. INTEGRATED-1286

Spike: default value changes are saved to content history

    Details

    • Sprint:
      Team A Sprint 51, Team A Sprint 52
    • Team:
      Team A
    • Story Points:
      1

      Description

      The problem

      When a default value for a document is different from the value in the database, the content history detects this as a change. But Doctrine doesn't write the change to the database.

      This means it keeps generating records in the content history.

      Example 1: phone number in database doesn't have a type

      Example 2: reference has wrong db (it would be better to turn storage of $db off, this will be the default in Doctrine ODM 2, http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/reference-mapping.html)

      Note: also when the changeset is empty a record is sometimes written to the content history.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marijn Marijn Otte
                Client:
                Integrated Marijn
                Code reviewer:
                Ger Jan van den Bosch (Inactive)
                Developer:
                Koen Prins
                Product owner:
                Marijn Otte
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  OTM