Security Level: All-users
Environment:PrestaShop v. 126.96.36.199
PSCFI-7177! ! ! forge JIRA is discarding posted description ! ! ! PSCFI-13product Comments loop PSCFI-471Product comments don't work PSCFI-4381Administrator unable to add new products unless PSCFI-4280Error in product comments PSCFI-421Translation issue in product comments PSCFI-3455Guest Comments dosen't works PSCFI-675cannot �post a product image in webservice
- productcomments module is configured to allow posting comments for guest
- statsdata module is not installed
- user is not logged in
- user posts a product comment from comment tab on a product page
Then comment is discarded completely without a warning.
No row is inserted into ps_product_comment.
It is caused by lack of id_guest field in Cookie object (see condition in ProductComments->_frontOfficePostProcess()), which apparently is set only in statsdata module (maybe the Guest::setNewGuest($params['cookie']) in StatsData->hookFooter())
After you uninstall/disable statsdata module, please remove existing cookies set by PrestaShop - the existing cookie may already contain an id_guest field, which would not be set without statsdata module.
Install statsdata module (displayed as Data mining for statistics).