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

Roster: Exporting with long user attributes may fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Fix Version/s: None
    • Component/s: Roster
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      This can be a bit complex to reproduce, you need to enable user properties in Roster and these properties should contain a long value (longer than 32767). We have the photo of the user in base 64.

      profile2.picture.type=official
      profile2.picture.change.enabled=false
      profile2.official.image.enabled=true
      profile2.official.image.source=provider
      profile2.official.image.attribute=jpegPhoto
      

      This DOESN'T affect regular users because they don't see the user attributes, this only affects admin users.

      When an admin user exports a roster, with long values in the user attributes, the server throws a 400 error because of the size of the user properties column.

       

      As admin:

       

      As regular user:

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                farreri Miguel Pellicer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code