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

Bug #1575903 reported by Erik Lovlie
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Critical
Kevin bush
Revision history for this message
Erik Lovlie (eriklovlie) wrote :
Revision history for this message
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.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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
Revision history for this message
Paul White (paulw2u) wrote :

Probably just a server glitch - marking as "Invalid"

affects: ubuntu → launchpad
Changed in launchpad:
status: New → Invalid
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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)
Changed in launchpad:
status: Fix Committed → Triaged
Revision history for this message
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.

Kevin bush (akjk32002)
Changed in launchpad:
assignee: nobody → Kevin bush (akjk32002)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.