-
Suggestion
-
Resolution: Won't Do
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
The editor currently emits overly complex DOM fragments to represent an indent list. This can easily provoke OOMEs when performing a PDF export of the page containing such a fragment.
E.g. if you insert an (ordered) list in the editor, add and entry and indented it via tab the output will be a nested (ordered) list.
It is enough to place 22 tabs on the list item to cause an OOME if you export the resulting page as PDF.
My test setup was a vanilla 5.2.2 instance against HSQLDB with -Xmx1G -XX:MaxPermSize=256M.
Server version: Apache Tomcat/6.0.35
Server built: Dec 8 2012 11:07:24
Server number: 6.0.35.0
OS Name: Linux
OS Version: 3.8.0-19-generic
Architecture: amd64
JVM Version: 1.7.0_25-b15
JVM Vendor: Oracle Corporation
Now I understand that this is really a problem of the PDF export (for which I'm going to raise a separate issue), but I believe the editor should make it an effort to use CSS instructions instead of DOM elements to reach the desired effect.
- relates to
-
CONFSERVER-30341 PDF export OOMEs for deeply nested ordered lists
-
- Closed
-
-
CONFCLOUD-30340 Improve emitted DOM for indented lists
- Closed
- Discovered while testing
-
CSP-104544 You do not have permission to view this issue
- mentioned in
-
Page Failed to load
[CONFSERVER-30340] Improve emitted DOM for indented lists
Workflow | Original: JAC Suggestion Workflow 4 [ 3576068 ] | New: JAC Suggestion Workflow 3 [ 4336792 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3168532 ] | New: JAC Suggestion Workflow 4 [ 3576068 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3038804 ] | New: JAC Suggestion Workflow 2 [ 3168532 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2536509 ] | New: JAC Suggestion Workflow [ 3038804 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2300712 ] | New: Confluence Workflow - Public Facing v4 [ 2536509 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2197434 ] | New: Confluence Workflow - Public Facing v3 [ 2300712 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1934972 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2197434 ] |
Workflow | Original: Confluence Workflow - Public Facing v2 [ 1752473 ] | New: Confluence Workflow - Public Facing v3 [ 1934972 ] |
Description |
Original:
The editor currently emits overly complex DOM fragments to represent an indent list. This can easily provoke OOMEs when performing a PDF export of the page containing such a fragment.
E.g. if you insert an (ordered) list in the editor, add and entry and indented it via tab the output will be a nested (ordered) list. It is enough to place 22 tabs on the list item to cause an OOME if you export the resulting page as PDF. !Selection_102.png|thumbnail! My test setup was a vanilla 5.2.2 instance against HSQLDB with _-Xmx1G -XX:MaxPermSize=256M_. {code} Server version: Apache Tomcat/6.0.35 Server built: Dec 8 2012 11:07:24 Server number: 6.0.35.0 OS Name: Linux OS Version: 3.8.0-19-generic Architecture: amd64 JVM Version: 1.7.0_25-b15 JVM Vendor: Oracle Corporation {code} Now I understand that this is really a problem of the PDF export (for which I'm going to raise a separate issue), but I believe the editor should make it an effort to use CSS instructions instead of DOM elements to reach the desired effect. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-30340]. {panel} The editor currently emits overly complex DOM fragments to represent an indent list. This can easily provoke OOMEs when performing a PDF export of the page containing such a fragment. E.g. if you insert an (ordered) list in the editor, add and entry and indented it via tab the output will be a nested (ordered) list. It is enough to place 22 tabs on the list item to cause an OOME if you export the resulting page as PDF. !Selection_102.png|thumbnail! My test setup was a vanilla 5.2.2 instance against HSQLDB with _-Xmx1G -XX:MaxPermSize=256M_. {code} Server version: Apache Tomcat/6.0.35 Server built: Dec 8 2012 11:07:24 Server number: 6.0.35.0 OS Name: Linux OS Version: 3.8.0-19-generic Architecture: amd64 JVM Version: 1.7.0_25-b15 JVM Vendor: Oracle Corporation {code} Now I understand that this is really a problem of the PDF export (for which I'm going to raise a separate issue), but I believe the editor should make it an effort to use CSS instructions instead of DOM elements to reach the desired effect. |
Link |
New:
This issue relates to |