Last modified: 2014-11-05 07:08:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75005, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73005 - Flow:cancel/confirm Hide action reloads Flow board/loads topic
Flow:cancel/confirm Hide action reloads Flow board/loads topic
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-05 06:38 UTC by spage
Modified: 2014-11-05 07:08 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-11-05 06:38:22 UTC
1. Login to beta labs.
2. Visit a Flow board like http://en.wikipedia.beta.wmflabs.org/wiki/Talk:Flow
3. Open the browser developer console to the Net tab
4. Choose Hide topic from a topic's action menu.
5. Click Cancel in the "Please explain why you are hiding..." dialog

Result: there's a substantial delay while the Flow page reloads, and you jump to the top of the page.

The Cancel in other dialogs (Lock topic, Summarize) doesn't do this, the dialog just goes away without triggering a page reload.
Comment 1 spage 2014-11-05 07:08:09 UTC
The Hide dialog operation is just weird. If I enter a reason in the dialog and then click [Hide], I'm prompted
  "This page is asking you to confirm that you want to leave - data you have entered may not be saved."

if I confirm [Leave page] then the page *issues* a Post request to http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Topic:S3dqqucjtbymepci&action=moderate-topic&topic_moderationState=hide .  This replaces the Flow board with the topic alone showing  "This topic was hidden by Spage beta."

in other words the page is not making an AJAX API request, it's visiting this URL as if JavaScript is disabled.  Hence I guess the prompt about "data you have entered may not be saved."

I don't get this behavior if I log in to beta labs in a private window, nor do I get it in Chromium. I was getting it on regular page and with ?debug=1. I hope it's an unreproducible cosmic ray.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links