-
Bug
-
Resolution: Fixed
-
High
-
5.8
-
None
It seems that when instances are spun up during webdriver test runs, the base URL of the instance is set to http://localhost:1990/confluence, while the webdriver tests access the instance via http://hostname:8080/confluence. This means that when the webdriver test follows an absolute URL, it moves to a different host, resulting in the cookies being lost and the driver being logged out.
This occurs when trying to upgrade plugins to depend on Confluence 5.8 and thus Java 1.8. The errors have been seen in the following plugins, although there may be more:
- confluence-inline-tasks: https://stash.atlassian.com/projects/CONF/repos/confluence-inline-tasks/pull-requests/155/overview
- confluence-knowledge-base: https://stash.atlassian.com/projects/SD/repos/confluence-knowledge-base/pull-requests/7/diff
- confluence-space-blueprints: https://bitbucket.org/atlassian/confluence-space-blueprints/pull-request/15/confdev-34092_test_data-bump-confluence
This could be related to https://extranet.atlassian.com/display/DEV/2014/07/17/Java8+and+the+local+hostname
EDIT
Remaining work is to update plugins
- confluence-inline-tasks
- confluence-knowledge-base
- confluence-space-blueprints
- to use connie 5.8.5 once it's released
- mentioned in
-
Page Failed to load
[CONFSERVER-39433] Incorrect base URL being set in evaluation database because of hsqldb -> h2 test data migration
Workflow | Original: JAC Bug Workflow v3 [ 2895559 ] | New: CONFSERVER Bug Workflow v4 [ 2987954 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2785560 ] | New: JAC Bug Workflow v3 [ 2895559 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2715184 ] | New: JAC Bug Workflow v2 [ 2785560 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2381217 ] | New: JAC Bug Workflow [ 2715184 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2273162 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2381217 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223672 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2273162 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2183271 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223672 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1918617 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2183271 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1728418 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1918617 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1681112 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1728418 ] |