Task #10825 (closed)
Bug: URL with token gives 404
Reported by: | jamoore | Owned by: | atarkowska |
---|---|---|---|
Priority: | critical | Milestone: | Cleanup |
Component: | QA | Version: | 4.4.8 |
Keywords: | n.a. | Cc: | wmoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
From devteam:
ssimard sorry, a couple more things: can't access the QA feedback link (no credentials) josh ssimard: quick workaround https://www.openmicroscopy.org/qa2/qa2/qa/feedback/6622/?token=c6048... ssimard josh: 404... josh ssimard: https://www.openmicroscopy.org/qa2/qa/feedback/6622/?token=c6048...
Change History (8)
comment:1 Changed 11 years ago by wmoore
comment:2 Changed 11 years ago by wmoore
- Cc atarkowska removed
- Owner changed from wmoore to atarkowska
- Version set to 4.4.8
That url is generated like this:
{% setting APPLICATION_HOST %}{% url qa_feedback_id feedback.id %}?token={{ feedback.token }}
where APPLICATION_HOST is what goes before /qa/feedback/4577/?token=b74..
The README.md has this to say
* Set up `APPLICATION_HOST = "http://qa.openmicroscopy.org.uk"`- this is part of the url what appears in email. When user click it, should jump to the feedback page.
so for this to work on QA2, it seems this needs to be set to:
APPLICATION_HOST = https://www.openmicroscopy.org/qa2
in settings.py
comment:3 Changed 11 years ago by atarkowska
- Milestone changed from OMERO-4.4.9 to Cleanup
comment:4 Changed 11 years ago by atarkowska
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 11 years ago by jamoore
Is there a PR for this or is it a configuration issue?
comment:6 Changed 10 years ago by atarkowska
Purely config
comment:7 Changed 10 years ago by atarkowska
Although I changed the way full urls are generated in https://github.com/aleksandra-tarkowska/qa/commit/4b4fbe9bd6757c7d1ec0dd1e548ede307fad3e81
Is it only the url at the top of each QA page that is broken?
Or does this url get generated somewhere else too https://www.openmicroscopy.org/qa2/qa2/qa/feedback/6622/?token=c6048... ?