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

Fix(revit): CNX-657 revit expiration checks seem to be not fully working for #316

Conversation

oguzhankoral
Copy link
Member

@oguzhankoral oguzhankoral commented Oct 21, 2024

TLDR; We still use UniqueIds.

Main problem was event of deleted objects. We were trying to get UniqueId by using provided ElementId, but doc.GetElement(elementId) can't get any element from deleted ElementId. We have to keep remember corresponding UniqueIds for ElementIds whenever they initially used.

Copy link

linear bot commented Oct 21, 2024

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.40%. Comparing base (613d45d) to head (acf5484).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev    #316   +/-   ##
=====================================
  Coverage   8.40%   8.40%           
=====================================
  Files        240     240           
  Lines       4816    4816           
  Branches     556     556           
=====================================
  Hits         405     405           
  Misses      4394    4394           
  Partials      17      17           

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

@oguzhankoral oguzhankoral marked this pull request as ready for review October 21, 2024 15:20
Copy link
Member

@clairekuang clairekuang left a comment

Choose a reason for hiding this comment

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

Only comment: we should check for selection filter behavior when a user deletes a saved object without updating the filter before sending.

@oguzhankoral oguzhankoral merged commit 29cf132 into dev Oct 22, 2024
5 checks passed
@oguzhankoral oguzhankoral deleted the oguzhan/cnx-657-revit-expiration-checks-seem-to-be-not-fully-working-for branch October 22, 2024 13:58
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.

3 participants