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

[GSS](6.4.x)Endpoint /history/variable/{varId}/value/{value} not working for variables with space

XMLWordPrintable

    • jBPM sprint 3

      The endpoint /history/variable/

      {varId}

      /value/

      {value}

      always return 404 when querying variable that contains spaces in the value.

      The problem is the regex in path variable specification ins the JAX-RS endpoint. It does not allow spaces:

          @GET
          @Path("/variable/{varId: [a-zA-Z0-9-:\\._]+}/value/{value: [a-zA-Z0-9-:\\._]+}")
          @RolesAllowed({REST_ROLE, REST_PROCESS_RO_ROLE, REST_PROCESS_ROLE})
          public Response getVariableInstanceLogsByVariableIdByVariableValue(@PathParam("varId") String variableId, @PathParam("value") String value) {
      
      

            docmrc97 Mark Coble (Inactive)
            rhn-support-wsiqueir William Siqueira
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: