Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1155

Hard-coded /syncope-enduser HTTP subcontext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.5, 2.1.0
    • enduser
    • None

    Description

      Several files in the Enduser JS sources contain references like as follows:

                  any.getAuxClasses = function () {
                    return  $http.get("/syncope-enduser/api/auxClasses")
                            .then(function (response) {
                              return response.data;
                            }, function (response) {
                              console.error("Something went wrong during auxiliaryClasses retrieval, exit with status: ",
                                      response);
                              return $q.reject(response.data || response.statusText);
                            });
                  };
      

      e.g. static references to /syncope-enduser.

      This would cause troubles when there is need to deploy the WAR file with a different name, or behind a reverse proxy.

      Attachments

        Activity

          People

            skylark17 Matteo Alessandroni
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: