HTML Blocks Content is not Saved

Hi all,



After upgrading to 4.2.2, we are facing issues with saving HTML blocks: when editing content of a HTML block, it appears not to be saved. However, in the Customer section, the new content is visible. After some research, we found that the primary key in cscart_bm_blocks_content disappeared. Thus, every time when saving, a new record is created instead of the old record being updated.



Can anyone else confirm this issue, or did we accidentally remove the primary key ourselves?

hi larezz91,



we checked the default installation of 4.2.2 and it works fine.

possibly a 3rd-party module or upgrade error is in place so our specialists can check it for you.

please don't hesitate to contact us.



best regards,

WSA team

If you need help with the issue examination, feel free to contact us

Hi all,



Thanks for your replies. I finally figured that I probably accidentally didn't copy the primary key for this table when manually restoring a database backup in our test environment, so it was an easy fix. Everything works fine now!

Thank you for sharing this information. Hope it will helpful for someone