Problem code 'connections-outdated' ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts, tables/problems.json and services/onsite-scripter/scripts/contract-docs-what-to-do.json by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

A member of ProblemCode · stable · since 2.0.0

Stored connections whose connectionsBasis no longer matches their nodes: none restored.

What to do ​

The nodes changed after the connections were saved, so none were restored: attach them again with session.assembly.attach, and when you save, store connectionsBasis(model, connections) beside connections; for connections you build yourself, omit connectionsBasis.

ts
const model = session.getSceneModel();
const connections = session.assembly.connections();
if (model) save({ connections, connectionsBasis: connectionsBasis(model, connections) });

Where the declaration names it ​

The set is open: handle a code you don't know ('other').

Recorded by ​