Custom States strange behaviours (set, then suddenly empty)

Dear all,

I was trying to pass a list of tags from a field to a custom state that I need to display in a repeating group for an edit page (edit a list of tags).

here is the strange behaviour:

  • On the edit contact workflow, I set the custom state with a list of tags
  • Result: OK, it sets the list
  • Then I can my view parameter (single page app) to show the edit page
  • Boom the custom state is empty

Makes no sense to me. No refresh, nothing strange happening (yes I checked potential on page load event, step by step)

Now the even more funny thing. If I now open a popup from my edit page to add tags, select some, confirm, close the popup, then… the same custom state now has the value I added…

I will use a tmp tags field in the database instead, but if anyone has an idea to solve this mistery that would be nice.

This might not be related but I have found that the editor is gone whacky.
It is renaming elements at random and when I think that I have clicked on one element, I find that I am editing a completely different element.
I am also finding that the renaming of elements is not holding. I just renamed an element but the label that appears in blue above the actual element did not change. It showed the new name on the Elements property window but not in the label that has a little square to the left of it. I had to copy the new label and paste it in the blue label.

i have been finding that elements that I have taken a long time to configure have just disappeared.

I just cannot trust the editor anymore.

Do a clear cache and hard refresh.