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

[MODFQMMGR-457] Re-instate old entity-type source values logic #400

Merged
merged 6 commits into from
Aug 29, 2024

Conversation

ncovercash
Copy link
Member

Jira

Purpose

Previously, entity types could source values from other entity types, however, this regressed in MODFQMMGR-378. It was not caught as all of our sources have been converted to either internal logic or API calls, however, some new tickets (MODFQMMGR-427) have exposed the need for this once again, resulting in the discovery of this regression.

Approach

Use the source entity type when sourcing values

@@ -380,7 +380,6 @@
valueFunction: 'lower(:value)',
source: {
entityTypeId: '58148257-bfb0-4687-8c42-d2833d772f3e',
columnName: 'cost_currency',
Copy link
Member Author

Choose a reason for hiding this comment

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

jackson's handling of json5, for some reason, uses a strategy for duplicate keys last-value-wins. IMO, this is stupid, but it technically matches the way JS handles it (grumble, grumble, there's even a draft spec to fix this)

Copy link

@ncovercash ncovercash merged commit c225e49 into master Aug 29, 2024
4 checks passed
@ncovercash ncovercash deleted the modfqmmgr-457 branch August 29, 2024 18:37
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