Page MenuHomePhabricator

PageForms: token list is appending instead of replacing the contents of updated "is dependent on"
Closed, ResolvedPublic

Description

In the work done in T184251: Upgrade Select2 in Page Forms (was formerly: Upgrade JS libraries included in Page Forms): It looks like token auto-completion is not replacing but is adding to the completions available.

For example, I have a token field TF that is dependent upon a combo-box field CB, and it currently has the completion values X, Y, and Z available.

I update CB so that the completion values available would be A, B, and C.

Instead of only providing me with the options A, B, and C, it will provide me with the options X, Y, Z, A, B, and C, in that order.

Event Timeline

Yes - this is a known bug that was actually fixed today - shortly before you posted this bug report, I think. Please get the latest PF code and see if it's working better for you now.

Sorry, this doesn't work. The results in the list are different, but they seem to have no relation to anything.

Well, that's unusual. Is there any sort of pattern to the values that are showing up? Are they even valid values?

I'm marking this as "Resolved", but feel free to re-open it if it's still an issue.