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

Description length not validated for a Freeform Portfolio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0
    • Component/s: OSP: Portfolios
    • Labels:
      None
    • Environment:
      Linux / Oracle
      Windows XP / MySql

      Description

      Description length is not validated when revising a freeform portfolio. To duplicate:
      1- Create a freeform portfolio
      2- Click "Revise" from portfolio list
      3- In "step 1 of 3 Begin", cut and paste a description > 255 characters.
      4 - Click finish.

      This is similar to SAK-8604

      Partial stack dump follows:

      org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL [update osp_presentation set owner_id=?, template_id=?, name=?, description=?, isDefault=?, isPublic=?, presentationType=?, expiresOn=?, modified=?, allowComments=?, properties=?, style_id=?, advanced_navigation=?, tool_id=? where id=?]; SQL state [72000]; error code [12899]; ORA-12899: value too large for column "SAKAI"."OSP_PRESENTATION"."DESCRIPTION" (actual: 675, maximum: 255)
      ; nested exception is java.sql.BatchUpdateException: ORA-12899: value too large for column "SAKAI"."OSP_PRESENTATION"."DESCRIPTION" (actual: 675, maximum: 255)

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                chmaurer@iupui.edu Chris Maurer
                Reporter:
                tcamilli Tony Camilli (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration