Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-43440

Rubrics Metadata created and modified are serialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 21.0 [Tentative]
    • Fix Version/s: None
    • Component/s: Rubrics
    • Labels:
      None
    • Conversion Script Required:
      Yes
    • Test Plan:
      Hide

      1) Dates in the database should be legible vs serialized objects

      Show
      1) Dates in the database should be legible vs serialized objects

      Description

      Rubrics Metadata class is serializing dates to the database as java serialized objects.

      These should be:

      @Type(type = "org.sakaiproject.springframework.orm.hibernate.type.InstantType")
      @Column(name = "CREATED_DATE", nullable = false)
      private Instant created;
      
      @Type(type = "org.sakaiproject.springframework.orm.hibernate.type.InstantType")
      @Column(name = "MODIFIED_DATE", nullable = false)
      private Instant modified;
      
      

      A conversion will be needed to convert the existing data from tinyblob to a datetime sql type.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    Unassigned
                    Reporter:
                    ern Earle R Nietzel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:

                      Git Integration