habari/habari — Issue #242: Make mptt values UNSIGNED
Author: ringmaster
Created: 2011-11-18 15:23:11+00:00
State: open

The FormControlTree provides mptt values after rearranging tree items in the client UI. These must be written directly to the database. Because writing values directly could cause key integrity violations if two terms in a tree are swapped, all mptt values are made temporarily negative until the full tree is written. This is not ideal.

A method should be discovered for writing the result from the FormControlTree without resorting to SIGNED fields and negative values so that the mptt fields can be restored to UNSIGNED.