Skip to content

fix: fix saving a not yet loaded layer dragged#3269

Merged
yohanboniface merged 1 commit into
masterfrom
fix-non-loaded-drag
Apr 2, 2026
Merged

fix: fix saving a not yet loaded layer dragged#3269
yohanboniface merged 1 commit into
masterfrom
fix-non-loaded-drag

Conversation

@yohanboniface

Copy link
Copy Markdown
Member

The real fix should be to have a separate call for saving only metadatas in this situation, but for now we realy on the geojson to have the reference_version of the datalayer, so it's not simple. We could be tempted to block dragging layers not yet loaded, but the issue will also arise if we drag another layer sibling with a lower rank. So for now, let's load it before saving.

The real fix should be to have a separate call for saving only
metadatas in this situation, but for now we realy on the geojson
to have the reference_version of the datalayer, so it's not simple.
We could be tempted to block dragging layers not yet loaded, but the
issue will also arise if we drag another layer sibling with a lower
rank. So for now, let's load it before saving.
@yohanboniface yohanboniface merged commit d608712 into master Apr 2, 2026
3 checks passed
@yohanboniface yohanboniface deleted the fix-non-loaded-drag branch April 2, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant