Scheme sync, References are not shown

Environment

  • [X] Self hosted with IIS
  • [X] Sass

Version: 4.1.1

I wanted to write an application that copies schemes from one app to another.

It all works. But the references are not taken over correctly. The schema ID is added, but it is not selected in the selection.

I had the same problem when I added the JSON code to the new schema and synchronized it. The references disappear.

Here are a few screenshots of the suspect.


The ID is the referenced scheme.


In the second scheme with the reference, the ID of the parent scheme is available.


The correct ID is also used in the JSON file within Squidex.


The referenced schemes are not visible. Even if Sync is clicked afterwards, it remains empty.

The problem is that the schema Id is not valid. It is pointing to the schema in the old app.

I have solved it in the CLI: https://github.com/Squidex/squidex-samples/blob/master/cli/Squidex.CLI/Squidex.CLI/Commands/App_Schemas.cs

If I remember correctly I store the schema with the names to the references schemas and then use the names to assign the correct ID.

I would say it is not a bug…

Ok, then I have to look, I have installed version 4.2 of ClientManager.

Then I’ll take a look at how I can solve that :slight_smile:

Thank you for your answer.