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(openRosa): correct project lookup fallback between OpenRosa and KPI TASK-1645 #5564

Merged
merged 4 commits into from
Mar 3, 2025

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Mar 3, 2025

📣 Summary

Fixed a typo in the project lookup fallback when resolving links between OpenRosa and KPI.

📖 Description

A typo in the lookup fallback caused issues when resolving the link between KPI projects (Asset) and their corresponding OpenRosa projects (XForm). This fix corrects the fallback logic, ensuring that the correct KPI project is retrieved from an OpenRosa project when necessary.

👀 Preview steps

The preview steps are hard to reproduce since a project is now always deployed from KPI (not support by v1 anymore).
See the new unit test to simulate preview steps.

@noliveleger noliveleger self-assigned this Mar 3, 2025
@noliveleger noliveleger changed the title Fix asset lookup fallback fix(openRosa): correct project lookup fallback between systems Mar 3, 2025
@noliveleger noliveleger changed the title fix(openRosa): correct project lookup fallback between systems fix(openRosa): correct project lookup fallback between OpenRosa and KPI Mar 3, 2025
@noliveleger noliveleger marked this pull request as ready for review March 3, 2025 09:46
@noliveleger noliveleger requested a review from rajpatel24 March 3, 2025 09:48
@noliveleger noliveleger changed the title fix(openRosa): correct project lookup fallback between OpenRosa and KPI fix(openRosa): correct project lookup fallback between OpenRosa and KPI TASK-1648 Mar 3, 2025
@noliveleger noliveleger changed the title fix(openRosa): correct project lookup fallback between OpenRosa and KPI TASK-1648 fix(openRosa): correct project lookup fallback between OpenRosa and KPI TASK-1645 Mar 3, 2025
Copy link
Contributor

@rajpatel24 rajpatel24 left a comment

Choose a reason for hiding this comment

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

LGTM

@noliveleger noliveleger merged commit ec79564 into release/2.024.36 Mar 3, 2025
6 checks passed
@noliveleger noliveleger deleted the fix-asset-lookup-fallback branch March 3, 2025 10:52
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.

2 participants