Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4393

It is not possible to work with assets in Business Central if you generate form for task with unappropriated name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.4.0
    • 6.4.0
    • jBPM Designer
    • All environments

    • ER2
    • CR1
    • Hide
      1. Create business process with User task
      2. Set
        "strange task name ~`!@#$*%^&()_+=-{}|\][":;'?><,./"

        as Task name value

      3. Generate form for User task

      Actual Result:
      Message shown: "Unable to complete your request. The following exception occurred: Parameter named 'scheme' should be filled!."
      Server log contain:

      12:46:49,398 ERROR [org.jbpm.designer.web.server.TaskFormsEditorServlet] (http-127.0.0.1:8080-4) java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.jgit.dircache.InvalidPathException: Invalid path: project1/src/main/resources/strangetaskname~`!@#$*%^()_ =-{}|/.gitignore
      12:46:49,796 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-127.0.0.1:8080-4) Exception thrown: Parameter named 'scheme' should be filled!: java.lang.IllegalArgumentException: Parameter named 'scheme' should be filled!
      

      You are not able continue your work with Business Central, server restart needed.

      Expected Result:
      User not able to set incorrect Task name or Forms not generated for Tasks with incorrect name or Task name is properly encoded.

      Show
      Create business process with User task Set "strange task name ~`!@#$*%^&()_+=-{}|\][":;'?><,./" as Task name value Generate form for User task Actual Result: Message shown: "Unable to complete your request. The following exception occurred: Parameter named 'scheme' should be filled!." Server log contain: 12:46:49,398 ERROR [org.jbpm.designer.web.server.TaskFormsEditorServlet] (http-127.0.0.1:8080-4) java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.jgit.dircache.InvalidPathException: Invalid path: project1/src/main/resources/strangetaskname~`!@#$*%^()_ =-{}|/.gitignore 12:46:49,796 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-127.0.0.1:8080-4) Exception thrown: Parameter named 'scheme' should be filled!: java.lang.IllegalArgumentException: Parameter named 'scheme' should be filled! You are not able continue your work with Business Central, server restart needed. Expected Result: User not able to set incorrect Task name or Forms not generated for Tasks with incorrect name or Task name is properly encoded.

    Description

      If "Task Name" parameter of User task contains symbol that not appropriate as part of file name for current file system (like '?' for NTFS, or '/' for EXT fs) and you will try to generate form for this task you are not able continue your work with any assets (can't save/delete/rename/create).

      Server restart needed:

      • On Windows you have to restart your server.
      • On Linux you have to restore affected repository in .niogit directory and restart your server.

      Additional Info:
      '<' and '>' symbols is encoded but still cause described behavior.

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            kgaevski@redhat.com Kirill Gaevskii
            Kirill Gaevskii Kirill Gaevskii
            Kirill Gaevskii Kirill Gaevskii
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: