Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10971

NumberFormatException while copying the Asset in CMS with Long Integer name

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Orion
    • SaaS Backlog

    Description

      One of the test cases is failing for the Hippo CMS 12 - QA Regression Test .

      Steps to reproduce:

      1. Launch CMS
      2. Browse to Content
      3. Select Asset from Document Type drop down
      4. Create an Asset name like ast-1509532586229
      5. Try to copy the same Asset

      Expected: Asset should be able to copy

      Actual: Exception occurs

      Caused by: java.lang.NumberFormatException: For input string: "1509532639618"
      [INFO] [talledLocalContainer] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_131]
      [INFO] [talledLocalContainer] at java.lang.Integer.parseInt(Integer.java:583) ~[?:1.8.0_131]
      [INFO] [talledLocalContainer] at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_131]
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.workflow.DefaultWorkflowPlugin$3.addOrIncrementFileNodeNameBaseNameSuffix(DefaultWorkflowPlugin.java:270) ~[hippo-cms-editor-frontend-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.workflow.DefaultWorkflowPlugin$3.createNewFileNodeNameWithBaseNameSuffix(DefaultWorkflowPlugin.java:244) ~[hippo-cms-editor-frontend-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.workflow.DefaultWorkflowPlugin$3.createRequestDialog(DefaultWorkflowPlugin.java:205) ~[hippo-cms-editor-frontend-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]

       __ 

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lsharma Lakshay Sharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: