Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-994

Improve Handling of Archived CO Petition Attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: COmanage Registry 0.9.1 (Essential Enneagon Plus One)
    • Component/s: Registry
    • Labels:

      Description

      After a petition is created, a record for each attribute is added to co_petition_attributes with a foreign key to co_enrollment_attribute_id. However, this means if the enrollment attribute definition is subsequently changed or deleted, co_petition_attributes will no longer have accurate historical petition data.

      Two possible fixes:

      (1) Record the name/description of the attribute instead of the foreign key. However, this won't be localizable.

      (2) Switch CoEnrollmentAttribute to an audit log style approach, where older versions of an attribute are maintained. Then co_petition_attributes would point to the definition in effect at the time the petition was created. However, this is much more work.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  benn.oshrin@at.internet2.edu Benn Oshrin
                  Reporter:
                  benn.oshrin@at.internet2.edu Benn Oshrin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: