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

Use ID if field is undefined in theme. #987

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

dbauszus-glx
Copy link
Member

Use the feature ID from the properties if no distinct field is defined for the distributed theme.

@dbauszus-glx dbauszus-glx added the Bug A genuine bug. There must be some form of error exception to work with. label Oct 31, 2023
@cityremade
Copy link
Member

cityremade commented Nov 2, 2023

It works correct when .field is undefined however in the reported case it's the value of the defined field which is null.
If we have nulls in the column used by the theme all features get the first colour. Should null be a value in the theme that would get its own colour?

** Another solution would be to prevent null values on the database side as the field in question is calculated by an algorithm.

Copy link
Member

@cityremade cityremade left a comment

Choose a reason for hiding this comment

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

Needed support for theme field defined but of null value.

Copy link

sonarqubecloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@cityremade cityremade left a comment

Choose a reason for hiding this comment

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

so as I said I am approving this as correct. The rest of the issue is on the data science side.

@dbauszus-glx dbauszus-glx merged commit fd75ac6 into GEOLYTIX:main Nov 3, 2023
6 checks passed
@dbauszus-glx dbauszus-glx deleted the distributed-theme-field branch January 29, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A genuine bug. There must be some form of error exception to work with.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants