Skip to content

Fix: Remove a check to deal with tags deleted in parent view, resolves SYN-6391 #3408

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

Merged
merged 15 commits into from
Nov 14, 2023

Conversation

rakuy0
Copy link
Contributor

@rakuy0 rakuy0 commented Nov 2, 2023

No description provided.

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ef20951) 97.39% compared to head (87a3741) 97.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
- Coverage   97.39%   97.29%   -0.10%     
==========================================
  Files         233      233              
  Lines       48176    48174       -2     
==========================================
- Hits        46923    46873      -50     
- Misses       1253     1301      +48     
Flag Coverage Δ
linux 97.29% <100.00%> (+0.01%) ⬆️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vEpiphyte vEpiphyte modified the milestones: v2.15x.x, v2.154.0 Nov 14, 2023
@@ -529,7 +525,8 @@ async def _getTagDelEdits(self, tag, init=False):
edits.append((s_layer.EDIT_TAG_DEL, (subtag, None), ()))

edits.extend(self._getTagPropDel(name))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the tagpropdel on name also need to become conditional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because you can add a tag prop in the forked view to the root tag #foo and then remove #foo in the base view, we'd still have the node's self.getTagProps return the tagprop for the missing root tag when we're looking at it in the forked view.

So I think we'd still want to mop those tagprops up when removing a tag in the fork viefw, even if that root tag was missing.

@rakuy0 rakuy0 merged commit 97723a9 into master Nov 14, 2023
@rakuy0 rakuy0 deleted the rakuyo/remove_missing_basetag_6391 branch November 14, 2023 19:58
@vEpiphyte vEpiphyte removed the reqChangelog requires changelog label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants