Monday, May 26, 2025
1 change · 18.0
Resolved issues and error corrections
Studio exports now preserve the right order when records depend on other records of the same type, preventing import failures caused by missing referenced items. Webhook automation export data also no longer includes private, regenerated URL information, reducing unnecessary exposure and avoiding misleading imported values.
Original PR description
## opw-4812933 feedback > When attachments were exported from Studio Export, they got exported in descending order by id (from highest id to lowest id). This caused a problem during import: if an attachment referred to an earlier one using a "Resource ID" (meaning it depended on a previously created attachment), the dependent attachment would try to import before the one it needed. This led to an error because the referenced attachment didn't exist yet. ## found issue The exported data is sorted to ensure import order is correct, but for inter-record dependencies on a same model many2one_reference fields are not taken into account. This PR fixes that. Also while analyzing this issue another small issue was spotted regarding base.automation.url field. See commits.