-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
6.1.7, 6.2, 6.3
-
Browsers: Internet Explorer 8, Internet Explorer 9
-
6.01
-
Severity 2 - Major
-
-
Context batch mechanism does not honour the 4095-rules CSS limit when building batches. As a result, it cannot be relied upon.
Example: have the following resource in atlassian-plugin.xml
<web-resource key="test-gadget-resources"> <dependency>jira.webresources:jira-global</dependency> <dependency>jira.webresources:global-static</dependency> <dependency>jira.webresources:jira-fields</dependency> <dependency>jira.webresources:set-focus</dependency> <dependency>com.atlassian.gadgets.publisher:ajs-gadgets</dependency> <dependency>com.atlassian.jira.gadgets:common-lite</dependency> </web-resource>
and the following gadget spec:
<?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="Foo Gadget" scrolling="true" height="300"> </ModulePrefs> <Content type="html"> <![CDATA[ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> #requireContext("com.acme.foo:test-gadget-resources") #includeResources() <p>This is a test gadget.</p> ]]> </Content> </Module>
Add the gadget, view source.
Observe: there is only one batch file containing all the CSS.
Expected: several files, each containing not more than 4095 rules.
- relates to
-
JRASERVER-36331 Gadget resources are not superbatched, breaking the limit of 32 stylesheets in IE 8-9
- Closed