Stop annotations target being rewritten from items - #696
Conversation
How this fixes #694The problem: after copying the named-query (NQ) canvas's annotation pages onto the canvas/manifest, The fix: the loop now runs over the NQ canvas's pages rather than the resource's pages. Pages already on the resource are never modified. For each NQ page:
The per-page retargeting (canvas target / Behaviour changes:
Tests:
|
82afdd3 to
0c8bfc1
Compare
- Remove nullable warning - Modify comment
What does this change?
Resolves #694
This PR modifies how
targetis rewritten, so it rewrites a named query canvas before adding it, instead of working across all canvases after they've been added to the manifest. This means annotations set by the customer are left alone