Page MenuHomePhabricator

When undoing a pending change using the API, the revert is not automatically accepted
Closed, DeclinedPublic

Description

  1. Go to a wiki with FlaggedRevs (such as testwiki)
  2. Log into an account without review permissions
  3. Edit a FlaggedRevs-enabled page with no existing pending changes, in order to create a pending change
  4. Log into an account with review permissions
  5. Use the API (or ApiSandbox) to undo the edit you just made with the other account

The undo is successful, but it is not automatically accepted.

When you carry out the undo operation using the standard index.php interface, the undo is automatically accepted.


Version: unspecified
Severity: normal

Details

Reference
bz54812

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:29 AM
bzimport set Reference to bz54812.
bzimport added a subscriber: Unknown Object (MLST).
Wargo subscribed.

Old issue.
If it still happens make sure you use "undo" parameter to edit action or use another decicated actions when needed (eg. rollback).