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

New field AutoDeleteDocument in API causes Urkund content-review not to work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.8 [Tentative], 19.6, 20.2, 21.0
    • Fix Version/s: 21.0, 22.0 [Tentative]
    • Component/s: content review
    • Labels:
      None
    • 21 Status:
      Resolved
    • 20 status:
      Please Merge
    • 19 status:
      Please Merge
    • Test Plan:
      Hide
      • Create an assignment with Urkund content-review
      • Submit a document and wait to the response

       

      Show
      Create an assignment with Urkund content-review Submit a document and wait to the response  

      Description

      As reported by Bruce McLachlan in sakai-dev, Urkund integration doesn't work anymore due to an unilateral change in their API, adding a new field AutoDeleteDocument.

      The log shows this error when the document is submitted:

      org.sakaiproject.contentreview.urkund.UrkundAccountConnection.getSubmissionData Error getting submission data : JsonProcessingException
      com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "AutoDeleteDocument" (class org.sakaiproject.contentreview.urkund.UrkundSubmissionData), not marked as ignorable (24 known properties: ...
      

      The fix is just adding that field in two Java classes, Bruce has offered to submit a PR.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                daniel.merino Daniel Merino Echeverría
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration