-
Couldn't load subscription status.
- Fork 1.5k
Description
I have some object bricks ( Name: MOTClothing , Field name: occasion ) which are linked with object class (Product class - MOTProduct ). There is a export option in object (product) grid. The grid contains object bricks - occasion also. If we CSV export products it's works. But if I try to filter with object bricks - occasion and CSV export then I will get fatal error like,
Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: Unknown column 'MOTClothing.occasion' in 'where clause'' in /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Statement/Mysqli.php:77 Stack trace: #0 /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT object_l...') #1 /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT object_l...') #2 /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT object_l...') #3 /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Abstract->query('SELECT object_l...', Array) #4 [internal function]: Zend_Db_Adapter_Abstract->fetchAll('SELECT object_l...', Array) #5 /home/ecomweb1/connect.com/pimcore/pimcore/lib/Pimcore/Resource/Wrapper.php(230): call_user_func_arra in /home/ecomweb1/connect.com/pimcore/pimcore/lib/Zend/Db/Statement/Mysqli.php on line 77
I tried with some other object bricks and different server but still i got error.
Its seems like the filter passing wrong element.
Other filter and CSV export working fine, only problem with object bricks.