Skip to content

Conversation

gramian
Copy link
Collaborator

@gramian gramian commented Apr 14, 2025

What does this PR do?

Studio Login fails due to use of removed version prop from HTTP responses.

Motivation

#2160

Additional Notes

This only works because the databases endpoint still uses the createResult for the JSON response including the version property.

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

@gramian gramian changed the title fix #2160 fix #2160 (studio login) Apr 14, 2025
@robfrank robfrank requested a review from Copilot April 14, 2025 12:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

studio/src/main/resources/static/js/studio-database.js:46

  • Confirm that removing the data payload is intentional and that the backend endpoint 'api/v1/databases' does not require additional parameters previously sent with POST requests.
-      data: "{ command: 'list databases' }",

studio/src/main/resources/static/js/studio-database.js:47

  • Ensure that switching from POST to GET is compatible with the backend behavior and does not introduce side effects in how login credentials or session details are managed.
+      type: "GET",

@robfrank robfrank merged commit 5840cb2 into ArcadeData:main Apr 14, 2025
2 of 3 checks passed
@lvca lvca requested a review from robfrank April 14, 2025 12:51
@lvca lvca added the bug Something isn't working label Apr 14, 2025
@lvca lvca added this to the 25.4.1 milestone Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants