Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11045

In Admin, on group details view request fails due to wrong url param value

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      • Open network tab
      • In Admin, go to group details view
      • Click on "Tenants"

      Observed behavior

      • I can see the following request: GET /camunda/api/engine/engine/default/tenant?groupMember=accounting&firstResult=NaN&maxResults=25&sortBy=id&sortOrder=asc
      • URL parameter firstResult is NaN instead of 0
      • This leads to following error
        {"type":"BadRequestException","message":"Unable to extract parameter from http request: javax.ws.rs.QueryParam(\"firstResult\") value is 'NaN' for public abstract java.util.List org.camunda.bpm.engine.rest.TenantRestService.queryTenants(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer)"}
        

      Expected behavior
      URL parameter firstResult is 0 and not NaN

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                akif.hazarvi Akif
                tassilo.weidner Tassilo Weidner
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce