Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14125

Synchronization fails for mappings with names longer than 50

    Details

    • Target Version/s:
    • Verified Version/s:
    • Support Ticket IDs:

      Description

      To reproduce this issue:

      1. Set up IDM with JDBC repo, eg mysql.

      2. Create a mapping with name longer than 50 characters, for example "managedVerylongnamedobject_systemVerylongnamedcsvmakethenamelongerthan50".

      3. Run reconcile on the mapping, it fails with "data too long" error.

      [8657] Nov 22, 2019 1:45:11.583 PM org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3 lambda$handleRequestWithLogging$8
      WARNING: Resource exception: 500 Internal Server Error: "Creating object failed after 1 attempts (1406-22001): Data truncation: Data too long for column 'linktype' at row 1"
      org.forgerock.json.resource.InternalServerErrorException: Creating object failed after 1 attempts (1406-22001): Data truncation: Data too long for column 'linktype' at row 1
      	at org.forgerock.openidm.repo.jdbc.impl.JDBCRepoService.lambda$handleCreate$2(JDBCRepoService.java:344)
      	at org.forgerock.openidm.metrics.MetricsCollector.time(MetricsCollector.java:112)
      	at org.forgerock.openidm.repo.jdbc.impl.JDBCRepoService.handleCreate(JDBCRepoService.java:292)
      

        Attachments

          Activity

            People

            • Assignee:
              matthias.grabiak Matthias Grabiak
              Reporter:
              yinyan.cao Yinyan Cao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: