Last modified: 2014-02-12 23:47:49 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 T60304, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58304 - In Beta, opening and closing "This page has some issues" from the preview overlay causes your edit to be lost
In Beta, opening and closing "This page has some issues" from the preview ove...
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 01:32 UTC by Ryan Kaldari
Modified: 2014-02-12 23:47 UTC (History)
7 users (show)

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


Attachments

Description Ryan Kaldari 2013-12-11 01:32:10 UTC
Steps to reproduce:
1. Log into http://en.m.wikipedia.beta.wmflabs.org/ and switch to Beta mode
2. Go to http://en.m.wikipedia.beta.wmflabs.org/wiki/This_page_has_issues and click the edit button
3. Make an edit and click continue
4. From the preview screen, click on "This page has some issues"
5. Click through the alerts
6. Close the issues overlay by clicking the close button

Expected result: You're back at the preview screen with your previous edit intact

Actual result: You're back at the preview screen and your edit has been lost due to an API reload.

The problem does not appear to happen in stable.
Comment 1 Bingle 2013-12-11 01:35:28 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1495
Comment 2 Ryan Kaldari 2013-12-12 03:12:04 UTC
What's actually going on is a bit different than what I thought. When you close the Issues overlay, it's not actually losing your edit, it's just spawning a new EditorOverlay over the previous one, so you just can't see your old edit or get to the correct save button since they are hidden underneath.
Comment 3 Ryan Kaldari 2013-12-12 03:13:52 UTC
This also explains why the number of issues increases each time you open the Issues overlay.
Comment 4 Gerrit Notification Bot 2013-12-17 19:43:02 UTC
Change 102286 had a related patch set uploaded by Kaldari:
Avoid using router for Issues overlay when we are in Editing overlay

https://gerrit.wikimedia.org/r/102286
Comment 5 Gerrit Notification Bot 2013-12-19 22:13:13 UTC
Change 102286 merged by jenkins-bot:
Avoid using router for Issues overlay when we are in Editing overlay

https://gerrit.wikimedia.org/r/102286
Comment 6 Jon 2013-12-19 22:18:39 UTC
After applying this patch I still see the confirmation "Do you really want to abandon your edit?" when clicking in preview this page has issues. If I exit and close again, and now leave the editor I see a confirmation message for every time I closed the edit "Do you really want to abandon your edit?"

Not closing this bug until we fix the misleading abandon issue problem.
Comment 7 Jon 2013-12-19 22:19:31 UTC
Actually I'll open a new bug so it is not confusing...
Comment 8 Jon 2013-12-19 22:21:51 UTC
See bug 58718

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


Navigation
Links