-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Blocker
-
Affects Version/s: COmanage Registry 0.7 (Harmonic Heptagon)
-
Component/s: Registry
-
Environment:Postgres, Cake 2.0.5
Setting a parent COU on an already set COU throws an error:
SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: integer >=
LINE 1: ... AS "Cou__id" FROM "cm_cous" AS "Cou" WHERE "Cou"."lft" >=
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
This is because TreeBehavior::_sync is trying to pass the following condition to updateAll:
Array
(
[0] => Cou.lft >=
)
and Postgres doesn't allow "where foo >= NULL". (MySQL does, and returns no matching rows.)
- has dependent
-
CO-491 CO Admin Cannot View History
-
- Resolved
-