Closed
Bug 1106059
Opened 10 years ago
Closed 10 years ago
Can't save new page
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sebo, Unassigned)
References
()
Details
Attachments
(1 file)
4.74 KB,
text/plain
|
Details |
I'm getting an 'Internal Server Error' (HTTP status code 500) when I try to save a new page I wanted to create for the 'object-fit' CSS property. Editing other pages today worked fine.
First I thought this was because I cloned an existing page, though it also happens when creating a completely new page.
I attached the POST parameters of the saving action.
Sebastian
Comment 2•10 years ago
|
||
I confirm the bug.
Note that, for legal reasons (copyright violation), I deleted that very same page earlier this week (using the admin interface).
This bug is really severe: object-fit must be documented very soon and get a lot of attention.
Comment 3•10 years ago
|
||
The problem is that doing it in the admin (this is a bug) deleted it without leaving the normal deletion log, so the code that checks for deleted documents at the same URL did not find that there was one (since it checks by querying the deletion log).
We should probably disable the admin delete button, and force all deletion to go through the interface that logs deletions.
In the meantime, anyone with admin access can purge the deleted document, and things will be fine.
Comment 4•10 years ago
|
||
Thanks to James and Jezdez who came back from PTO to help on this.
I was sure the "delete" button was the only interface and that it was a "purge".
I've followed the other procedure and it should be ok. I'm closing it for now. Reopen if needed.
Ubernostrum: ok for removing the delete button from the admin panel, our requirement is to have a purge feature. The other way of doing it, unknown to me, is perfectly fine. (sorry for the misunderstanding)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #2)
> Note that, for legal reasons (copyright violation), I deleted that very same
> page earlier this week (using the admin interface).
Sorry, how can the documentation of a CSS property cause a copyright violation? Was it just copied over from another page?
Sebastian
Comment 6•10 years ago
|
||
Yes, it was a copy paste from another page, with a different incompatible license.
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #6)
> Yes, it was a copy paste from another page, with a different incompatible
> license.
I see. Well, now it's self-made by me. :-)
Sebastian
Comment 8•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/73c835e61e4f6e180d82d577cc48c3b2aebc40e9
Bug 1106059: Disable admin Document deletion.
We already have the delete-from-object-list action disabled; this
simply completes that process by disabling the delete button on
individual Documents, by hard-wiring a lack of delete permission for
every user.
As a result, all Document deletion will be forced through the custom
kuma deletion infrastructure, which ensures we have an auditable trail
of who has deleted a Document and why.
https://github.com/mozilla/kuma/commit/9493ae7331bba0b92b467bb4c91a33672c8d4e0e
Merge pull request #2931 from ubernostrum/remove-admin-delete-1106059
Bug 1106059: Disable admin Document deletion.
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
•