Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10825 (closed)

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

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 6 years ago by wmoore

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... ?

comment:2 Changed 6 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 6 years ago by atarkowska

  • Milestone changed from OMERO-4.4.9 to Cleanup

comment:4 Changed 6 years ago by atarkowska

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 6 years ago by jamoore

Is there a PR for this or is it a configuration issue?

comment:6 Changed 6 years ago by atarkowska

Purely config

comment:7 Changed 6 years ago by atarkowska

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.94899 sec.)

We're Hiring!