Page MenuHomePhabricator

Page forms: mapping property and template are not functional when using tokens and multiple values are present
Closed, ResolvedPublic

Description

Both, mapping property and mapping template work well with fields of type tokens, when only one value is present or a new article is created. When editing an existing article and multiple values are present, then the mapping is ignored and the original page names are displayed. (see also here)

{{{field|Name|input type=tokens|values from category=Category|delimiter=;|mapping template=Template}}

{{{field|Name|input type=tokens|values from category=Category|delimiter=;|mapping property=Property}}

Event Timeline

@Tork22 - sorry for the long delay on this. Is this still a problem with the latest Page Forms code?

This still is an issue. Seems it has something to do with the delimiter option, without it, it works just fine.

Yaron_Koren claimed this task.

We just tried this bug out, and couldn't reproduce it - so my guess is that it got fixed at some point through some change to delimiter handling. I'm closing this now; feel free to re-open if you are still seeing the problem.