Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-1747

ajax tags fail when loading RailoAjax lib from a non-root context

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.2.000
    • Fix Version/s: 4.0.3.003
    • Labels:
      None

      Description

      When railo is running under a context other than root, the RailoAjax library fails to load.
      Causing problems with other dependent ajax tags.

      For example, when visiting http://myhost/railo/test.cfm* the request to load the library does not respect the context.
      Result: GET http://myhost/mapping-tag/railo/core/ajax/JSLoader.cfc?method=get&lib=RailoAjax 404 (Not Found)
      Note Railo is only running under context /railo. Ie: http://myhost/ <-- no Railo here

      The pull request contains;

      • a fix to AjaxBase.cfc to ensure the assets load correctly from all contexts
      • a fix to AjaxProxyHelper.cfc which was not returning the context from classToPath() used by cfajaxproxy

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                andreacfm Andrea Campolonghi
                Reporter:
                MrBuzzy Andrew Stevens
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: