[ X] Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
Current behavior
Hi all,
I created a new app by copying and importing the schemas via cli from a different app. Among these schemas, some are singletons, and when I create a new draft, I cannot publish them. Is it possible to force the publication?
Hi Sebastian, just to update you on this topic.
Using version 7.6.1 we are having problems with some single content schemas.
The original app used to duplicate the app works perfectly, but when Federica copied the app and imported it into a new app, the single content schemas seemed as though they aren’t being registered with the workflow properly. The result is that the page is modifiable (we are able to create a new draft o delete the draft), but other than this nothing. I have checked the logs and there isn’t any signs of problems during the loading of the page in squidex.
I also tried importing the content into squidex and tried to use postman to publish via “/api/content/sardegna-statistiche/carta-identita/{id}/status” with the payload
Ciao Sebastian,
we have currently updated Squidex to 7.20.0 in our DEV environment.
We were hoping that the sync we use duplicate a new app would have resolved with the upgrade, but unfortunately the singleton problem still persists.
We have also made a backup of mongoDB, not sure how to send it to you (53mb).
I forgot to mention that the Apps (App base, Statistiche and Elezioni) have problem where as (CRC and Programmazione) don’t have the problem.
Statistiche and Elezioni were created via the duplication of the CRC App.
You have create a custom workflow to translate the default workflow names like Draft and Archived.
But a singleton is special and can only have Draft and Published as system workflow states. Somehow your content ended in a Bozza state, which is not valid for a singleton content.
What you can do:
Go to your database, find your content: { "id" : "3f314d0f-285f-488a-a7ae-4b6f1756d86f" }
Change the status field to “Draft” (the field ist called “ns”)