XF 2.0 Setting column to same in entity value erases value...?

Liam W

in memoriam 1998-2020
I've been trying to figure this out for a while, and I've come to the conclusion that it must be an XF issue.

When I set an entity field to it's existing value, and save it, the value is completely erased. The column in question has the unique and match keys set, and the value matches the entered regex.

I'm setting this value from inside the entity class, if that matters.

Any ideas?

Liam
 
No idea really -- if this were true across the board, pretty much any ACP form would be broken.

Can you provide as reduced a test case as possible? (Ideally an entity file + DB schema and a test script.)
 
Back
Top Bottom