Skip to content

Conversation

@soininen
Copy link
Contributor

@soininen soininen commented Jan 7, 2026

This fixes a bug where it was not possible to add an entity class with same name as another entity class in different database that was open in the same DB editor tab if the existing class had a superclass.

No associated issue.

Checklist before merging

  • Documentation is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

Having a global busy flag prevents simultaneous fetching of multiple
databases at once.
Sort key cannot contain Nones which was the case for classes that don't
have a superclass. This issues was hit when sorting classes from different
databases with same name (and dimensions) but one had a superclass
and the other one didn't.
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.21%. Comparing base (12395a7) to head (ff520cc).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3249      +/-   ##
==========================================
+ Coverage   70.20%   70.21%   +0.01%     
==========================================
  Files         204      204              
  Lines       39206    39214       +8     
  Branches     4728     4729       +1     
==========================================
+ Hits        27525    27535      +10     
+ Misses      10382    10381       -1     
+ Partials     1299     1298       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@soininen soininen merged commit 9a97660 into master Jan 7, 2026
19 checks passed
@soininen soininen deleted the fix_entity_class_display_id branch January 7, 2026 11:55
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