ODE
  1. ODE
  2. ODE-373

MMC contains hardcoded paths; host, port and context where the MMC expects Ode should be derived from the deployment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2
    • Component/s: Management Console
    • Labels:
      None

      Description

      Host, port and context are currently hard coded. This leads to the effect that the MMC stops working when ODE is deployed in a different context name than "ode" or tomcat has setup for a different port. In addition, hard-coded paths cause some troubles when the console shall be accessed from other machines due to some XSS protections in browsers.

      I think the best way to fix this is to use relative URLs as this should solve all the problems stated above.

      1. ODE-373.patch
        7 kB
        Denis Weerasiri

        Activity

        Alexis Midon made changes -
        Fix Version/s 1.3.2 [ 12313906 ]
        Fix Version/s 1.3.1 [ 12313680 ]
        Alexis Midon made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alexis Midon made changes -
        Fix Version/s 1.3.1 [ 12313680 ]
        Fix Version/s 1.3 [ 12313165 ]
        Fix Version/s 2.0 [ 12313503 ]
        Tammo van Lessen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Tammo van Lessen [ vanto ]
        Hide
        Tammo van Lessen added a comment -

        Thanks for the patch. Applied to both trunk and 1.x branch.

        Show
        Tammo van Lessen added a comment - Thanks for the patch. Applied to both trunk and 1.x branch.
        Denis Weerasiri made changes -
        Attachment ODE-373.patch [ 12401616 ]
        Hide
        Denis Weerasiri added a comment -

        Hardcoded Host, port and context were removed and Management Console JavaScripts were updated based on the Management API schema.

        Show
        Denis Weerasiri added a comment - Hardcoded Host, port and context were removed and Management Console JavaScripts were updated based on the Management API schema.
        Tammo van Lessen made changes -
        Summary Host, port and context where the MMC expects Ode should be derived from the deployment MMC contains hardcoded paths; host, port and context where the MMC expects Ode should be derived from the deployment
        Fix Version/s 1.3 [ 12313165 ]
        Priority Major [ 3 ] Critical [ 2 ]
        Hide
        Tammo van Lessen added a comment -

        MMC is also part of 1.3 and the bug is somehow critical because it expects some resources at http://localhost:8080/ode which is not necessarily the right assumption.

        Show
        Tammo van Lessen added a comment - MMC is also part of 1.3 and the bug is somehow critical because it expects some resources at http://localhost:8080/ode which is not necessarily the right assumption.
        Matthieu Riou made changes -
        Field Original Value New Value
        Fix Version/s 2.0 [ 12313503 ]
        Fix Version/s 1.3 [ 12313165 ]
        Tammo van Lessen created issue -

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Tammo van Lessen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development