Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
None
-
None
Description
When you add comment to an object in a language which the object doesn't have translation in (for instance, french), the page will return error
( ! ) Notice: Undefined variable: contentObject in /Users/xc/Dev/trunk/extension/ezcomments/modules/comment/add.php on line 40
( ! ) Notice: Undefined variable: languageCode in /Users/xc/Dev/trunk/extension/ezcomments/modules/comment/add.php on line 40
( ! ) Notice: Undefined variable: foundCommentAttribute in /Users/xc/Dev/trunk/extension/ezcomments/modules/comment/add.php on line 40
..
Steps to reproduce
1) create an object with comment attribute in English, do not translate it
2) view the object in English siteaccess
3) Comment that object, it works fine
4) go to the object page, switch to another language (for instance, French)
5) the comment form is shown, add comment, click the 'Add comment' button
Verify that there is error message described in the description.
Attachments
Issue Links
- duplicates
-
EZP-17598 eZComments : Fatal error during add comment on a untranslated content
- Closed