Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16389

Query parameters are not allowed in the runtime configuration for CordovaSim

    XMLWordPrintable

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Try and use a page without query parameters.

      Or, launch without the query parameters, and then change the URL in the browser to add the query parameters.

      Show
      Try and use a page without query parameters. Or, launch without the query parameters, and then change the URL in the browser to add the query parameters.

      Description

      Related to JBIDE-16388, I'm creating a page: mobileapp.html that employs a query parameter (?target=cordova) to trigger the condition relevant to hybrid applications. The Hybrid Mobile application uses the REST APIs hosted on OpenShift via absolute URLs instead of relative URLs. The logic makes use of the presence/absence of the query parameter to use absolute (cloud) URLs instead of relative URLs.

      When I create a runtime configuration to bypass JBIDE-16388 (to specify mobileapp.html as the start page), I cannot specify '?' in the path : http://www.screencast.com/t/ZYVMPtUWjq2

      This fails only in CordovaSim, and the app works when run in emulators/devices.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ibuziuk Ilya Buziuk
                  Reporter:
                  vineet.reynolds Vineet Reynolds
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: