Page MenuHomePhabricator

"Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." when using Preview with Page Forms
Closed, ResolvedPublic

Description

When I create or edit a page using "Edit with form" and then click "Show preview", my changes are working (and also saving when I click Save) BUT I see:
"Some parts of the edit form did not reach the server; double-check that your edits are intact and try again."

Event Timeline

I've gotten that message too, sometimes. I don't know what causes it, or how to fix it! Does this happen for you every time?

Yes, for now every time I edit with form and click 'Show preview', regardless if I changed anything or not.

When you try to create a new property (using the normal Form Interface at Special:CreateProperty), you get the following error when previewing or saving the edit:

Some parts of the edit form did not reach the server; double-check that your edits are intact and try again.

To recreate:

  1. Go to Special Pages -> Create Property (Special:CreateProperty)
  2. Provide a random property name (e.g. Foo) and select any value for the type (it doesn’t matter what type you choose).
  3. Preview the page. If you click ‘Save’ (without ‘Preview’), you will still be taken to a Preview page, and see the same error.

The error does not occur when using the wikitext editor to create a Property manually (without PageForms). E.g. wiki/index.php?title=Property:Good&action=edit

Note: When you actually save the page, you’ll get an unrelated error message that comes from Semantic MediaWiki 3+:

Property “Foo” was altered and requires assigned entities to be reevaluated using a change propagation process. The property page has been locked until the primary specification update is completed to prevent intermediary interruptions or contradictory specifications. The process may take moment before the page can be unlocked as it depends on the size and frequency of the job queue scheduler.

Product	Version
MediaWiki	1.34.3 (9ed93f5)
16:31, 21 September 2020
PHP	7.2.33-1+0~20200807.47+debian9~1.gbpcb3068 (apache2handler)
MariaDB	10.1.45-MariaDB-0+deb9u1
ICU	65.1
Elasticsearch	6.8.12

Page Forms 4.9.5 (42a5097) 10:40, 22 September 2020

Change 699807 had a related patch set uploaded (by Cody3647; author: Cody3647):

[mediawiki/extensions/PageForms@master] Add wpUltimateParam field to User-created form

https://gerrit.wikimedia.org/r/699807

Change 699807 merged by jenkins-bot:

[mediawiki/extensions/PageForms@master] Add wpUltimateParam field to User-created form

https://gerrit.wikimedia.org/r/699807

Yaron_Koren claimed this task.

I'm assuming that this patch fixed the issue, since I haven't heard of this bug happening in a long time...