Last modified: 2014-10-19 17:44:26 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 T71321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69321 - mediawiki_api client.create_page fails on Flow board
mediawiki_api client.create_page fails on Flow board
Status: NEW
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 69322
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-09 05:20 UTC by spage
Modified: 2014-10-19 17:44 UTC (History)
2 users (show)

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


Attachments

Description spage 2014-08-09 05:20:42 UTC
With Gerrit change #151806, the Echo notifications.feature browser tests have a step "another user writes on my talk page" that uses MediawikiApi::Client.create_page.

This silently fails if the user's talk page is a Flow board, which is the default on the Flow team's test servers.

The action=edit API call returns successfully, but if you ask for the content of the page, e.g. Special:Export, you'll see that the revision ID is updated but the text content is an empty array. The moment someone visits the Flow board its content changes back to being {"flow-workflow":"<UUID>"}.

The Flow team needs to figure out what should happen when someone uses the action=edit API on a Flow board. It seems either it should fail, or it could succeed and modify the Flow board's header area.
Comment 1 Chris McMahon 2014-08-12 15:42:42 UTC
I am not sure that it is even wise to consider parity between creating or editing a wiki page and creating or editing a Flow entity using the same API calls. 

I strongly suspect manipulating aspects of Flow should have an API of its own.

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


Navigation
Links