Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-962

Wrong port used in ForrestBar if none standard forrest port used

    Details

    • Urgency:
      Normal

      Description

      If Forrest is run on a port other than 8888, the forrestbar fails to pick this up from the request URI.

        Activity

        Hide
        duc Cyriaque Dupoirieux added a comment -
        I have just added an Option window to be able to specifiy the host (default is localhost) and the port (default is 8888) of "Forrest run" and saved - if needed - in the user preferences.
        The solution is more robust - cf. the old javascript function isLocalUrl() where the host and port were hard coded...
        Ross has thought of a solution much more simple based on a Regexp of the current Url to find the host and port.
        My dilemma was that some installations (mine for instance) have several web server running at the same time (I always have an apache for Oracle on port 8080...) So I wanted a solution flexible and independant.
        I don't know what to say, but now, the forrest bar has an Option window ready for future features and it may be a good thing ;-)
        Show
        duc Cyriaque Dupoirieux added a comment - I have just added an Option window to be able to specifiy the host (default is localhost) and the port (default is 8888) of "Forrest run" and saved - if needed - in the user preferences. The solution is more robust - cf. the old javascript function isLocalUrl() where the host and port were hard coded... Ross has thought of a solution much more simple based on a Regexp of the current Url to find the host and port. My dilemma was that some installations (mine for instance) have several web server running at the same time (I always have an apache for Oracle on port 8080...) So I wanted a solution flexible and independant. I don't know what to say, but now, the forrest bar has an Option window ready for future features and it may be a good thing ;-)
        Hide
        crossley David Crossley added a comment -
        This works fine.
        Show
        crossley David Crossley added a comment - This works fine.

          People

          • Assignee:
            Unassigned
            Reporter:
            rgardler Ross Gardler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development