-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Low
-
None
-
Affects Version/s: 6.6.7, 6.6.8, 6.9.0
-
Component/s: Macros - Gadgets
-
None
-
10
-
Severity 3 - Minor
-
2
Atlassian Update – 24/02/2020
Hi Everyone,
We have recently reviewed this issue and as the News gadget has reached End of Support and has been removed from later versions of Confluence, we will be closing this issue.
If you have any questions or updates regarding this macro, do let us know.
Thank you
Issue Summary
Confluence News Gadget doesn't work because of Cross-Origin Read Blocking (CORB).
Steps to Replicate
- Create a page
- Insert Confluence New Gadget
- Click "Insert"
- The 'Edit' button will get greyed out and unclickable
The following error can be found in the browser console:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.atlassian.com/software with MIME type text/html
The following request will return error 500:
https://<confluence-base-url>/s/2325/_/plugins/servlet/gadgets/placeholder?gadgetId=cmVzdC9nYWRnZXRzLzEuMC9nL2NvbS5hdGxhc3NpYW4uY29uZmx1ZW5jZS5wbHVnaW5zLmdhZGdldHM6Y29uZmx1ZW5jZS1uZXdzLWdhZGdldC9nYWRnZXRzL2NvbmZsdWVuY2UtbmV3cy1nYWRnZXQueG1s
The following error can be found in the application logs:
ERROR [http-nio-8443-exec-110] [[Standalone].[localhost].[/].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception -- referer: https://<confluence-base-url>/display/<space>/<page-name> | url: /s/2325/_/plugins/servlet/gadgets/placeholder | traceId: 75cbaae96215db5f | userName: username java.lang.NullPointerException at com.atlassian.confluence.plugins.gadgets.GadgetPlaceholderServlet.getIcon(GadgetPlaceholderServlet.java:305) at com.atlassian.confluence.plugins.gadgets.GadgetPlaceholderServlet.getPlaceholderImage(GadgetPlaceholderServlet.java:264) at com.atlassian.confluence.plugins.gadgets.GadgetPlaceholderServlet.lambda$doGet$1(GadgetPlaceholderServlet.java:171) at com.atlassian.vcache.internal.core.metrics.TimedSupplier.get(TimedSupplier.java:32) at com.atlassian.vcache.internal.legacy.LegacyJvmCache.lambda$get$4(LegacyJvmCache.java:52) at java.util.Optional.orElseGet(Optional.java:267) at com.atlassian.vcache.internal.legacy.LegacyJvmCache.get(LegacyJvmCache.java:50)
Expected Result
Confluence News Gadget to display a list of recent Confluence Product Blogs and events at Atlassian.
Actual Result
The macro doesn't return anything and break the editor.