Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39883 Add an Advisor for changes to AuthzGroup's
  3. SAK-39919

Wrap advisor calls in try catch to avoid missed saves

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.6
    • Component/s: Kernel
    • Labels:

      Description

      Currently saving an authz group can fail because of a minor error in a listener. The listener should not be able to stop an authz group save.

      2015-10-13 13:57:22,116 WARN http-apr-8380-exec-76 org.sakaiproject.site.impl.BaseSiteService - .saveAzgs - site: org.springframework.dao.DataIntegrityViolationException: could not insert: [org.sakaiproject.hbm.privacy.PrivacyRecordImpl]; SQL [insert into SAKAI_PRIVACY_RECORD (lockId, contextId, recordType, userId, viewable) values (?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [org.sakaiproject.hbm.privacy.PrivacyRecordImpl]

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                ottenhoff Sam Ottenhoff
                Reporter:
                ottenhoff Sam Ottenhoff
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration