Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.3
-
None
Description
When creating or updating RichText field with content containing an external link, a double entry will be created in the ezurl_object_link table.
Steps to reproduce:
1. create content type with richtext field (remember to activate EzPublishXhtml5EditTestBundle to edit richtext in frontend)
2. create a content (of above type) with 1 link
3. update same content (add text to update)
4. on DB verify that the ezurl_object_link is duplicated on object version 2
5. verify the queries below:
mysql> SELECT id, url FROM ezurl WHERE url LIKE "%google.com"; +----+------------------------------+ | id | url | +----+------------------------------+ | 73 | http://google.com | +----+------------------------------+ mysql> SELECT * FROM ezurl_object_link WHERE url_id = 73; +----------------------------+---------------------------------+--------+ | contentobject_attribute_id | contentobject_attribute_version | url_id | +----------------------------+---------------------------------+--------+ | 666 | 1 | 73 | | 666 | 2 | 73 | | 666 | 2 | 73 | +----------------------------+---------------------------------+--------+
Attachments
Issue Links
- discovered while testing
-
EZP-22969 Updating Content with Xml-/RichText adds entry to ezurl, but not to ezurl_object_link
- Closed