Last modified: 2013-11-20 23:48:48 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 T59283, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57283 - Saving to existing page from Special:FormEdit doesn't explain why it fails
Saving to existing page from Special:FormEdit doesn't explain why it fails
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: s7eph4n
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-20 07:14 UTC by Sam Wilson
Modified: 2013-11-20 23:48 UTC (History)
0 users

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


Attachments

Description Sam Wilson 2013-11-20 07:14:01 UTC
(I'm sorry if this is a feature, but I'm confused enough to think it's a bug...)

When saving a form that
1. has no target pagename in the URL,
2. uses the 'page name' parameter of {{{info}}},
3. results in attempting to edit a page that already exists,
I get a message such as "Modifying [[Test_One]] failed."

Is it possible to overrule this and demand that the page be saved, with the new values, nonetheless?

For example, this form:

{{{info|page name=Test <Test[Type]>}}}
{{{for template|Test}}}
* Title: {{{field|Title}}}
* Type: {{{field|Type|input type=dropdown|values=One,Two,Three}}}
{{{end template}}}

When 'One' is selected for Type, and [[Test One]] already exists, will display the above error.

Forgive me if I've missed the relevant documentation.

(Oh, this is with version 2.6 9bb8e4c.)
Comment 1 Yaron Koren 2013-11-20 15:23:05 UTC
I just tried this out, and it works fine for me. What version of MediaWiki are you using? And I don't know if you're using the very latest version of SF, but if you have Git, try upgrading just for the heck of it.
Comment 2 Sam Wilson 2013-11-20 23:35:45 UTC
MediaWiki 1.21.2 (404e36a), SMW 1.8.0.5 (6ed064d), and SF is the latest from Git, ef10534 (commit date Tue Nov 19). So I must be doing something wrong! :-)

Sorry to be a bother, but can I just confirm that the form above works for you when:
* edited at Special:FormEdit/Test
* the Test_One page already exists
* Type is set to 'One'
?

I keep getting the "Modifying Test_One failed." error. :-(

It works perfectly the first time, to create the page initially, but then subsequent attempts (which I assumed would be able to edit the page) do not work.

The reason for not editing via Special:FormEdit/Test/Test_One is that I don't want to have to know the page name before entering.
Comment 3 Yaron Koren 2013-11-20 23:48:48 UTC
Re-assigning to Stephan - I still can't reproduce the bug, but Stephan, maybe you know more about this than I do.

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


Navigation
Links