Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.0-dev
-
None
Description
Regression from issue: http://issues.ez.no/18186 is causing attributes with a value of '0' to be removed from the resulting generated raw ezxml.
Issue surfaced in ezoe issue: http://issues.ez.no/IssueView.php?Id=18657&activeItem=1
Where border='0' was no longer stored in db, causing it to end up as border='' in ezoe output used by TinyMCE and most browser that ended up as border='1'..
Steps to reproduce
You need to use ezoe without this commit: https://github.com/ezsystems/ezoe/commit/1549eef79d954b879be71db2e409bcbe3b82e048 As in it's parent or earlier. Create Content 1. Login into admin2 interface, using admin account 2. Click on “Content structure†from the top menu 3. Click on “Create new†4. Choose “Article†from the drop-down list 5. Title: Article 1 6. In the summary field 7. Click on “Insert a new table†Columns: 2 Rows: 2 Border: 0 px Summary (WAI): Table 8. Click “ok†button 9. On the fist Row, First column, type: Something 10. On the second Row, Second column, type: Else 11. Click on “Store draft†button 12. Verify that the table, in Summary field, remains with no border + On this stage you can check value in database, where you will find that it is missing border attribute, while it should have been border='0'.