- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.5k
 
Description
When adding a calculated field to a brick, the according table column will be added to the "object_brick_query_Mybrick_2" tables, but not to the "object_brick_store_Mybrick_2" table, which leads to an "unknown column" error when saving an object with this brick attached.
Using Version: 4.1.3, Build: 3858
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mycalculatedfield' in 'field list'' in /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT o_id AS ...', 134830) #4 /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Zend_Db_Adapter_Pdo_Abstract- in /var/www/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php on line 235