Permalink
Browse files

* Fixed bug #14670: Embed relations are not removed when embed tag is

# 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 4cf608697659731a782569d1e46afc4f43ef4317
Showing with 7 additions and 1 deletion.
  1. +3 −1 changelog.txt
  2. +4 −0 update/database/5.0/dbupdate-5.0.0-to-5.0.1.sql
View
@@ -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
@@ -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.