Skip to content

Commit

Permalink
* Fixed bug #14670: Embed relations are not removed when embed tag is
Browse files Browse the repository at this point in the history
# Added sql update script to fix db inconsistency

git-svn-id: http://svn.ez.no/svn/extensions/eztinymce/trunk@3798 49f50cf4-cce6-0310-bc1e-a21d999f3d8f
  • Loading branch information
andrerom committed Mar 31, 2009
1 parent cbd6553 commit 4cf6086
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ eZ Online Editor 5.0 extension Changelog
* Pack javascript files used in dialogs to spped up the dialogs a bit
* Fixed bug #14649: IE inserts hostname when protocol is wrong
* Added jpn-JP translation
* Fixed bug #14670: Embed relations are not removed when embed tag is
* Updated tinyMCE to 3.2.2.3
* Fixed bug #14670: Embed relations are not removed when embed tag is
IMPORTANT: Apply update/database/5.0/dbupdate-5.0.0-to-5.0.1.sql to fix
inconsistency in database (if you have used ezoe prior to version 5.0.1)


5.0.0
Expand Down
4 changes: 4 additions & 0 deletions update/database/5.0/dbupdate-5.0.0-to-5.0.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Fixes issue #014670: Embed relations are not removed when embed tag is
-- Affects all users that have used ezoe (image / file upload) from its early betas, rc's and 5.0.0
DELETE FROM ezcontentobject_link WHERE relation_type = 8 AND contentclassattribute_id = 0;
UPDATE ezcontentobject_link SET relation_type = 2 WHERE relation_type = 10 AND contentclassattribute_id = 0;

0 comments on commit 4cf6086

Please sign in to comment.