Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.4.0
-
None
Description
Hi,
On a siteaccess ShowUntranslatedObjects configuration parameter is enabled :
siteaccess/fre/site.ini
[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=enabled
The content language is in English, but it is displayed on the french web site. The comment form is visible but after the user push the Add comment button, the server returns a Fatal error :
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended. Contact website owner with current url and what you did, and owner will be able to debug the issue further.
To fix this in the PHP file ezcomPostHelper.php, the dataMap should be fetch antother time with the another languageCode, for instance eng-GB.
[ezcomPostHelper.php] line 47 : $dataMap = $contentObject->fetchDataMap( false, 'eng-GB' );
Or to find the attribute data_type_string their are other solutions :
- contentclass
- passing the parameter in the POST form ....
Regards
Olivier
Steps to reproduce
Create a new siteaccess with antother language, activate the ShowUntranslatedObjects parameter.
Don't create a translation of your content.
Try to create a new comment, you will get the error.
Attachments
Issue Links
- is duplicated by
-
EZP-16773 Commenting on an object in a not existing translation results in error
- Closed