Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error message when using custom status in databases

Christian Thomson June 4, 2024

Can anyone help resolve this error message I am now getting when trying to assign a custom status to a database I have created?

I had created a few custom statuses and now when I try to use any of them I get the below error code and also can not find a way to edit or delete any of the status options inc the ones I have created.

 

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "restrictionLevel" (class com.atlassian.confluence.api.model.content.ContentStateRestInput), not marked as ignorable (3 known properties: "id", "name", "color"]) at [Source: (org.apache.catalina.connector.CoyoteInputStream); line: 1, column: 82] (through reference chain: com.atlassian.confluence.api.model.content.ContentStateRestInput["restrictionLevel"]) (400, https://omnos.atlassian.net/wiki/rest/api/content/374210565/state?status=current)

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Scott Zockoll
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2024

Hello @Christian Thomson!

 

Thanks for the report. When you say "custom status to a database" are you referring to a custom status on a page like the following?

Screenshot 2024-06-04 at 12.37.30 PM.png

Christian Thomson June 5, 2024

Thank you @Scott Zockoll yes that is correct 

Scott Zockoll
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2024

Thanks for the information @Christian Thomson,

Can you confirm the status still exists in your space? The issue might be that the database is using a status that has been deleted. I'm able to reproduce the error using the following steps:

 

  1. Create a custom status in the space
     1.png
  2. Add this status to two different rows
    2.png
  3. Change one of the rows to a different status
    3.png
  4. Delete the custom status
    4.png
  5. Set the "Rough draft" row back to the custom status. This is still an option because there is another row in the database containing this custom status (I'd argue this is a bug)
    5.png

 

I can make a ticket for the bug, but first can you confirm that page status still exists? I want to make sure I fully understand the problem.

 

Thanks!

- Scott

Christian Thomson June 7, 2024

Hi @Scott Zockoll so I can't see any bin icon next to them to delete. That was another issue that I could not find a way to edit or delete any status. I just get a scroll feature to the right. So I have now found the status editor for the space and can see non of the custom status I was able to create in the page directly exist here. Seems like a disconnect between ability to create status in the page on the fly vs the central controlling location for the space.

Screenshot 2024-06-07 081618.png

Scott Zockoll
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 7, 2024

@Christian Thomson Just to make sure I understand, you are saying the custom statuses you have made on the fly inside a page are not showing up in the database? It sounds like the database isn't aware of those statuses, and when it tries to load those statuses in the database it throws an error.

Thanks for the information, I will file this as a bug and pass it to the team!

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events