I have…
- [ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
When restoring previously created backups via the Restore Backup
function the data shown in the “References” and “Referencing” content tabs is not properly restored.
The corresponding API calls (like the GraphQL referencingSCHEMA_NAMEContents
operation) also just return an empty list.
The restored contents however still contain the IDs of the referenced contents and changing anything (like a field value) on the content that references another content fixes the problem.
Expected behavior
Referenced and referencing content is correctly restored when restoring an App via the builtin Restore Backup
function.
Minimal reproduction of the problem
- Create a new App
- Add a new schema with the following configuration:
- Name: Address
- Fields:
- id (FieldType: String)
- Add a second schema:
- Name: Person
- Fields:
- addresses (FieldType: References)
- Add a few
Address
contents (e.g. with theids
1, 2, 3) - Create a new
Person
content whoseaddresses
field is populated with references to the previously created addresses - Check if the data in the
References
tab on the person shows up correctly - Check if the data in the
Referencing
tab on the addresses show up correctly - Create a backup of the App
- Restore the previously created backup
- Check 6 & 7 again in the restored App (The data is now “missing”, changing anything on the person however fixes the problem)
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
- [x] Self hosted with kubernetes
Version: 7.7.0
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
The problem already existed in the previous version.