-
Bug
-
Resolution: Duplicate
-
Low
-
5.1, 6.0
-
5.01
-
Discovered while upgrading plugin to be compatibilie with 5.1.
When makeRequest (/plugins/servlet/gadgets/makeRequest) is asked to get response from REST action which returns only status code, and gzip feature is enabled in JIRA we get java.io.EOFException.
Example REST method body:
return Response.ok().cacheControl(NO_CACHE).build();
When changed to:
return Response.ok("ok").cacheControl(NO_CACHE).build();
then it works fine.
I suppose that problem is in gadgets - there was dependency version change in JIRA 5.1 to com.atlassian.gadgets.atlassian-gadgets-opensocial-plugin.
If gzip JIRA feature is disabled then everything works fine too.
Problem was introduced in JIRA 5.1 - tested with 5.0 and works fine with gzip enabled.
- causes
-
JRASERVER-29908 GreenHopper external gadgets can't be saved or inserted in Confluence page when gzip is enabled
- Closed
-
JRASERVER-29795 Gadgets can't be added or saved in Confluence page when gzip is enabled
- Closed
- duplicates
-
JRASERVER-29795 Gadgets can't be added or saved in Confluence page when gzip is enabled
- Closed