Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.9.0
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
When users create content (e.g. pages) based on templates that come from a blueprint, the users get an internal server error if they use more than 6 different templates.
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Create a Test space
- Click on in the Confluence header to create page from template.
- Choose one of the internal template (eg. Meeting Notes). If the template contains variables, you'll see a form allowing you to add values for the form variables.
- Type the relevant information into the form fields, and choose Next
Now you'll see a new page based on the template. If you added information in the form fields, the page content will include that information. - Name your page, add content or make any other changes required and hit Publish
- Create more than 6 pages using different internal templates in same Test space.
Expected Results
The page should be created using more than 6 different templates without any issues.
Actual Results
When user creates a page using 7th+ template and try to publish it they are presented with error message for milliseconds of time which gets disappeared soon:
And again prompted with another message to save the page :
The only problem/drawback is that users might be confused when they see the error message.
Attached video recording that demonstrate the above behaviour when I created a page using 8th template.
Diagnosis
The HAR logs shows HTTP 500 Internal Server Error for POST/PUT request:
Request URL: https://linux-69569.prod.atl-cd.net/confluence/rest/api/content/blueprint/instance/1146960?status=draft
Request Method: PUT
Status Code: 500 Internal Server Error
And below exception is thrown in the atlassian-confluence.log file:
2024-04-24 14:20:59,483 ERROR [http-nio-8090-exec-7 url: /confluence/rest/api/content/blueprint/instance/1146901; user: admin] [rest.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : -- url: /confluence/rest/api/content/blueprint/instance/1146901 | userName: admin | referer: https://linux-69569.prod.atl-cd.net/confluence/pages/resumedraft.action?draftId=1146901&draftShareId=f4f3697c-008d-410f-bab1-d89426f934b1& | traceId: da497a9437b1c7df com.opensymphony.module.propertyset.IllegalPropertyException: String exceeds 255 characters. at com.opensymphony.module.propertyset.AbstractPropertySet.setString(AbstractPropertySet.java:365) at com.atlassian.confluence.user.DebugLoggingPropertySet.setString(DebugLoggingPropertySet.java:183) at com.atlassian.confluence.impl.propertyset.ReadThroughCachingPropertySet.setString(ReadThroughCachingPropertySet.java:227) at com.atlassian.core.user.preferences.UserPreferences.setString(UserPreferences.java:132) at com.atlassian.confluence.user.ConfluenceUserPreferences.setPreference(ConfluenceUserPreferences.java:104) at com.atlassian.confluence.user.ConfluenceUserPreferences.setString(ConfluenceUserPreferences.java:84) at com.atlassian.confluence.plugins.createcontent.extensions.DefaultUserBlueprintConfigManager.setBlueprintCreatedByUser(DefaultUserBlueprintConfigManager.java:98) at com.atlassian.confluence.plugins.createcontent.impl.DefaultContentBlueprintService.decorateReturnedUrlWithFlashScopeInfo(DefaultContentBlueprintService.java:427) at com.atlassian.confluence.plugins.createcontent.impl.DefaultContentBlueprintService.publishInstance(DefaultContentBlueprintService.java:209) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568)
Workaround
Continue to click on Update button to save the page created using template/blueprint and this shall allow to save the page without any issues.
Attachments
Issue Links
- mentioned in
-
Page Loading...