Error when a logged in tab attempts an action after another tab logs out
Bug #461321 reported by
Brad Crittenden
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Using Safari, attempting to add a comment to an existing MP that I created resulted in an error pop-up with:
(, 'createComment', 'launchpad.
I then attempted to create the same comment using Firefox and it succeeded. Moving back to Safari resulted in the same error.
Subsequently I have been able to add additional comments using Safari.
tags: | added: javascript |
affects: | launchpad → launchpad-code |
tags: | added: code-review |
Changed in launchpad-code: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in launchpad: | |
importance: | Medium → Low |
summary: |
- Adding a comment to a merge proposal fails on 'createComment' + Error when a logged in tab attempts an action after another tab logs out |
To post a comment you must log in.
I got this error when I tried to add a comment to a merge proposal without being logged in. The error indicates that you tried to do something you don't have permission for. The most likely explanation for Brad's problem is that he was logged into Launchpad in Firefox but not in Safari.
I think the best solution would be to hide the comment form altogether when the user is not logged in.