Page MenuHomePhabricator

Unable to edit Herald rules:: "Argument 1 passed to HeraldTokenizerFieldValue::setValueMap() must be of the type array, object given"
Closed, ResolvedPublic

Description

I get this error page when trying to update H228:

Repro steps:

  1. Navigate to https://phabricator.wikimedia.org/H228
  2. Click "Edit Rule"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 25 2019, 7:37 PM

Confirmed. I get the same error.

MarcoAurelio triaged this task as High priority.Feb 25 2019, 7:44 PM

Well this is happening not only on the rule above, but in all of them Herald rules. Checked with H90 and H267 both return the same error message. Editting existing Herald rules seems to be broken. I have not tested creating any new ones. Feel free to raise to UBN.

Aklapper renamed this task from Unable to edit Herald rule, "unhandled exception" to Unable to edit Herald rules:: "Argument 1 passed to HeraldTokenizerFieldValue::setValueMap() must be of the type array, object given".Feb 26 2019, 5:39 AM
Aklapper reopened this task as Open.
Aklapper added a subscriber: mmodell.

Thanks @mmodell ! Much appreciated :-)