Page MenuHomePhabricator

Unhide comment from History produces error message
Closed, DuplicatePublic

Description

  1. Start a new topic - and type something.
  2. Hide the post - the post will be properly hidden: "This comment was hidden by Etonkovidova (history)"
  3. Click on 'history' and click on 'unhide'.

Several errors starting with "[FLOW] Failed to getInstanceByElement: no $container.length..." will be displayed in the Console.

  1. Click again on 'unhide' in 'history' - "Insufficient permissions to execute this action."will be displayed.

Screen_Shot_2015-04-22_at_3.43.36_PM.png (300×473 px, 22 KB)

  1. Click on 'Cancel', then 'Ok' to confirm - and then, click on the backspace button to return to Flow. The post will be unhidden.

Event Timeline

Etonkovidova raised the priority of this task from to High.
Etonkovidova updated the task description. (Show Details)
Etonkovidova subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyH renamed this task from Unhide comment from History produces - to Unhide comment from History produces error message.Apr 22 2015, 11:03 PM
DannyH set Security to None.
DannyH raised the priority of this task from High to Unbreak Now!.Apr 22 2015, 11:29 PM
DannyH subscribed.

Unbreak Now because it affects moderation.

Appears to be same underlying cause as T95174 (trying to treat the moderation field as a wikitext/VE editor when it really only supports plaintext).