I'm trying to add a new context in Revo 2.5.1-pl and when I add permissions I get this error in the screenshot.
Also, the context doesn't seem to be working because there are no permissions set so it doesn't hit the resource that it's set to and this error is in the Modx error log:
[2017-10-16 13:41:54] (ERROR @ /var/www/canna_core_modx/xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement:
INSERT INTO `modx_access_context` (`target`, `principal_class`, `principal`, `authority`, `policy`) VALUES ('control', 'modUserGroup', 0, 9999, 3)
Array
(
[0] => HY000
[1] => 1364
[2] => Field 'id' doesn't have a default value
)
Is this a known issue or am I a special snowflake?
UPDATE: The context is working now (forgot to initialize it, oops!), but I'm still getting the ACL Error.
[ed. note: aaronkent last edited this post 6 years, 6 months ago.]