AJAX bug listing sort redirects to ++model++/+login when logged out, which OOPSes

Bug #1575903 reported by Erik Lovlie on 2016-04-27
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
Unassigned
Erik Lovlie (eriklovlie) wrote :
Erik Lovlie (eriklovlie) wrote :

Weird, suddenly can't reproduce anymore. Reproduced it 2-3 times, including in a new browser session, before submitting the bug.

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1575903/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Paul White (paulw2u) wrote :

Probably just a server glitch - marking as "Invalid"

affects: ubuntu → launchpad
Changed in launchpad:
status: New → Invalid
Colin Watson (cjwatson) wrote :

No, it's not just a "server glitch". OOPS-260df6f569b776ea3899730544ce20fd:

  AttributeError: 'JsonModelNamespaceView' object has no attribute 'publishTraverse'

    Traceback (most recent call last):
  Module zope.publisher.publish, line 129, in publish
    obj = request.traverse(obj)
  Module zope.publisher.browser, line 540, in traverse
    ob = super(BrowserRequest, self).traverse(obj)
  Module zope.publisher.http, line 457, in traverse
    ob = super(HTTPRequest, self).traverse(obj)
  Module zope.publisher.base, line 260, in traverse
    obj = publication.traverseName(self, obj, entry_name)
  Module zope.app.publication.zopepublication, line 194, in traverseName
    ob2 = ob.publishTraverse(request, nm)
AttributeError: 'JsonModelNamespaceView' object has no attribute 'publishTraverse'

This is reproducible with the provided steps when logged out. I'm not sure exactly what's happening as yet, but when you click on "Number" we make an AJAX request to /ubuntu/+bugs/++model++, and that presumably decides somewhere that it isn't usable by anonymous users and redirects to /ubuntu/+bugs/++model++/+login, which doesn't exist.

Changed in launchpad:
importance: Undecided → Critical
status: Invalid → Triaged
tags: added: internal-api lp-bugs oops
removed: bot-comment
summary: - bugs.launchpad.net "server error"
+ AJAX bug listing sort redirects to ++model++/+login when logged out,
+ which OOPSes
Erik Lovlie (eriklovlie) wrote :

Just happened again, this time I had just clicked on "xenial" in the list to the right (so a "basic" search I guess) and then clicking twice on "heat" (so sort by ascending heat).

As Colin Watson mentions above it only seems to happen when you're logged out, but then it is perfectly reproducible.

Erik Lovlie (eriklovlie) wrote :

Well, I should mention that the url I was at when I got the pop-up this time was:

https://bugs.launchpad.net/ubuntu/xenial/+bugs?orderby=-heat&start=0

IOW I had clicked on "xenial" in the "Series-targeted bugs" list of links.

Changed in launchpad:
status: Triaged → Fix Committed
Colin Watson (cjwatson) on 2019-12-06
Changed in launchpad:
status: Fix Committed → Triaged
Brian Foster (blfoster) wrote :

According to https://answers.launchpad.net/launchpad/+question/687991
this is the problem which caused "Server error, please contact an administrator. OOPS ID:OOPS-01304c5f39d236276b5b91c3304de9f5"
on 2020-01-14.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions