When using a hierarchy as list style, the child elements would shift position on save. This was due to a check for integer values with "is_int" where the data was a string and the check failed. Using "is_numeric" solved the problem, and it doesn't seem to have any negative side-effects.

CommentFileSizeAuthor
entity-collection-is-numeric.patch809 bytessvenryen

Comments

svenryen created an issue. See original summary.

esolitos’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch!
Will be committed shortly!

esolitos’s picture

Status: Reviewed & tested by the community » Fixed

  • esolitos committed 3414a4c on 7.x-2.x
    Issue #2847301 by svenryen: Position of hierarchical elements shifts on...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.