Last modified: 2013-03-08 18:58:38 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 T46927, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44927 - VisualEditor: VE chokes on unexpected redirect response from Parsoid
VisualEditor: VE chokes on unexpected redirect response from Parsoid
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2013-03-04
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-13 04:34 UTC by Phil Kirkham
Modified: 2013-03-08 18:58 UTC (History)
3 users (show)

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


Attachments

Description Phil Kirkham 2013-02-13 04:34:35 UTC
I created a page using the normal editor that was


<gallery>
File:Example.jpg|Caption1
#REDIRECT [[Target page name]]
</gallery>


Trying to load this page in VE gives an error message
" Error loading data from server: Server error. Would you like to retry? "
Comment 1 James Forrester 2013-02-13 19:26:29 UTC
Phil, did this happen when you retried? That error message (which sucks, and we're going to fix as part of bug 44354) just means that it couldn't hail the Parsoid server at the time, and normally means that nothing went wrong other than the server availability.

More generally, when you edit a page which as has a redirect OR a redirect-like string that isn't a redirect because it's not at the top of the page, Parsoid follows the redirect and returns the document that the redirect points to, which is a pair of bugs (we'll need to be able to edit #REDIRECT statements, so it shouldn't return the redirected page, and it should behave the same way as the PHP parser with regard to what is considered a redirect).
Comment 2 Phil Kirkham 2013-02-13 19:55:21 UTC
Selecting the OK option to Retry brings the error dialog back up so the only option is to Cancel unless you want to spend all day pressing OK

thanks for the extra info on how redirect works - or is meant to work
Comment 3 James Forrester 2013-03-08 18:58:38 UTC
Phil,

I've checked and this is now fixed (in part - there's the wider question of Parsoid and redirection which is covered in bug 45808) - am marking as closed. Thank you again for your bug report!

James.

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


Navigation
Links