Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.1, 5.2-dev
-
None
-
RHEL 6.4
PHP 5.3.3
Mysql 5.1.61
Description
When creating a product with recommentation datatype the following error is present in apache debug
[Fri May 31 16:30:56 2013] [error] [client 192.168.2.46] PHP Fatal error: Call to a member function attribute() on a non-object in /var/www/apache2php53/ezp5/ezpublish_testsystem/.run/extension/ezrecommendation/autoloads/ezrecotemplatefunctions.php on line 621, referer: http://ezp5.legacy.jp.cleverti.qa.ezpublish.no/ezflow_site_admin/content/edit/80/1
Steps
1. Add the recommendation datatype to product class
2. Create a new Product
3. Verify that the error is present in apache debug
The same error is present if you create a draft object (article or product) with recommendation active and try to visualise it on the dashboard
Attachments
Issue Links
- blocks
-
EZP-21075 recommendation: coding best practices
- Open