Closed
Bug 851199
Opened 12 years ago
Closed 12 years ago
After page is moved, new page is not created and history of original page is lost
Categories
(developer.mozilla.org Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markg, Unassigned)
Details
(Whiteboard: [specification][type:bug])
Attachments
(1 file)
|
395.62 KB,
image/png
|
Details |
What did you do?
================
1. Choose "Move this page" on this URL:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Reference/Jsval
2. Tell it to move it to this URL:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Reference/JS::Value
3. Click Save changes.
What happened?
==============
Got a 404 error on the new page. I tried the move twice.
What should have happened?
==========================
The new page /en-US/docs/SpiderMonkey/JSAPI_Reference/JS::Value should have been created with the old content from /en-US/docs/SpiderMonkey/JSAPI_Reference/Jsval, inclduing its history.
Is there anything else we should know?
======================================
Today the behavior of the original page has changed. If you go to /en-US/docs/SpiderMonkey/JSAPI_Reference/Jsval it redirects somewhere and gets a 404.
Comment 1•12 years ago
|
||
Also worth noting, the history of the Jsval page is completely gone.
https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Reference/Jsval$history
Let's keep this bug for fixing the underlying problem. I will open a separate bug for manually restoring the Jsval page for now.
Updated•12 years ago
|
Priority: -- → P1
Updated•12 years ago
|
Summary: No new page created with "Move this page" command → After page is moved, new page is not created and history of original page is lost
Comment 2•12 years ago
|
||
Opened bug 851210 for restoring the Jsval page manually in the meantime.
Comment 3•12 years ago
|
||
Looks like the db I need to look at is wiki_mdc_deki and the tables are "old" for the history and "pages" for the content. (stop me if this is wrong...)
Comment 4•12 years ago
|
||
Hrm, I recall groovecoder told me it was the developer_mozilla_org database, so I checked and am finding stuff in wiki_document and wiki_revision. Will search there first.
Comment 5•12 years ago
|
||
Oof, ignore those comments, they should have gone into https://bugzilla.mozilla.org/show_bug.cgi?id=851210 instead. My apologies!
Updated•12 years ago
|
Whiteboard: [specification][type:bug] → [specification][type:bug][selected]
Comment 6•12 years ago
|
||
Might only be new pages with certain characters in it? (e.g., ':')
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
I'm having trouble reproducing this locally. A local unit test passes just fine:
https://github.com/groovecoder/kuma/compare/page-move-bug-851199
And the attached screenshot shows the doc moved as expected - left behind a redirect and preserved history at the new slug.
Can we retry a page move like this in a test/user space? Under https://developer.mozilla.org/en-US/docs/User:markgiffin maybe?
Flags: needinfo?(m1879)
| Reporter | ||
Comment 9•12 years ago
|
||
(In reply to Luke Crouch [:groovecoder] from comment #8)
> Can we retry a page move like this in a test/user space? Under
> https://developer.mozilla.org/en-US/docs/User:markgiffin maybe?
I created this page:
https://developer.mozilla.org/en-US/docs/User:MarkGiffin/page_to_move
I tried to move it to this new slug:
/en-US/docs_en-US/docs/User:MarkGiffin/sandbox/moved_page
Result: 404 error reported at that URL. Also, the original page now also gives a 404:
https://developer.mozilla.org/en-US/docs/User:MarkGiffin/page_to_move
Flags: needinfo?(m1879)
| Reporter | ||
Comment 10•12 years ago
|
||
Also, here is the URL for the original page after the attempted move:
https://developer.mozilla.org/en-US/docs_en-US/docs/User:MarkGiffin/sandbox/moved_page?redirectlocale=en-US&redirectslug=User%253AMarkGiffin%252Fpage_to_move
| Reporter | ||
Comment 11•12 years ago
|
||
FYI, I'm on Windows 7 Pro using Google Chrome Version 26.0.1410.43 m.
Updated•12 years ago
|
Whiteboard: [specification][type:bug][selected] → [specification][type:bug]
Comment 12•12 years ago
|
||
I'm still not able to reproduce this.
:retornam, can you try to reproduce this bug on https://developer.allizom.org/en-US/ ?
Updated•12 years ago
|
Flags: needinfo?(mozbugs.retornam)
Comment 13•12 years ago
|
||
(In reply to Luke Crouch [:groovecoder] from comment #12)
> I'm still not able to reproduce this.
>
> :retornam, can you try to reproduce this bug on
> https://developer.allizom.org/en-US/ ?
I haven't been able to reproduce this. I'll try again today to see if I'm able to.
Flags: needinfo?(mozbugs.retornam)
Updated•12 years ago
|
Comment 14•12 years ago
|
||
https://developer.allizom.org/en-US/docs/HTML/HTML7$history moved a couple of times and stil no 404
| Reporter | ||
Comment 15•12 years ago
|
||
Well I tried it again and I could move a page using Firefox 21 beta, and also tried with Google Chrome, and now it works. So somebody musta fixed somethin' so thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•