Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the Node fid back to the node_id #1316

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Set the Node fid back to the node_id #1316

merged 1 commit into from
Mar 26, 2024

Conversation

visr
Copy link
Member

@visr visr commented Mar 25, 2024

The idea was that the Node table fid would not be used anymore, but #1306 showed that is unfortunately not yet the case. So this changes the fid after it is initially written to be equal to the node_id. Any users should still not rely on the fid, because this is only temporary.

This is like #1311 but now also catching non unique node IDs on model.write.
It also provides a temporary fix to #1306. It's not great, but I feel that especially #1306 is bad enough to warrant a quick fix. This would've been a bit cleaner to implement using #1312 to avoid having to read and re-write the Node table, but that PR still has issues we don't understand, so best not to wait on that.

image

@Hofer-Julian Hofer-Julian merged commit 4b32b7d into main Mar 26, 2024
24 checks passed
@Hofer-Julian Hofer-Julian deleted the fiddle branch March 26, 2024 08:07
visr added a commit that referenced this pull request May 30, 2024
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.

2 participants