syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-1155) Hard-coded /syncope-enduser HTTP subcontext
Date Wed, 02 Aug 2017 12:13:00 GMT

    [ https://issues.apache.org/jira/browse/SYNCOPE-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110768#comment-16110768
] 

ASF subversion and git services commented on SYNCOPE-1155:
----------------------------------------------------------

Commit cb9e145396d2ae54fe4f37110675dc84bc7c9c32 in syncope's branch refs/heads/master from
[~skylark17]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=cb9e145 ]

[SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext


> Hard-coded /syncope-enduser HTTP subcontext
> -------------------------------------------
>
>                 Key: SYNCOPE-1155
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1155
>             Project: Syncope
>          Issue Type: Improvement
>          Components: enduser
>            Reporter: Francesco Chicchiriccò
>            Assignee: Matteo Alessandroni
>             Fix For: 2.0.5, 2.1.0
>
>
> Several files in the Enduser JS sources contain references like as follows:
> {code}
>             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);
>                       });
>             };
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message