Skip to content

Conversation

@aaronskiba
Copy link
Contributor

Fixes #3478

Changes proposed in this PR:

This adds test coverage for a previously undetected Rails 7 breaking change
affecting nested attribute params structure in `hidden_field_tag`
This change addresses a breaking issue introduced by the Rails 7 upgrade, where the hidden_field_tag parameters for nested attributes were not being processed correctly. The parameter structure has been updated to match Rails 7's expected format, ensuring proper handling of nested associations.
@aaronskiba aaronskiba marked this pull request as draft February 13, 2025 22:49
`execute_script('arguments[0].click();', modal_close_button)` works locally, however, the modal seems to be failing to close when the test is run as a GitHub Action.
  -  Strangely `execute_script('arguments[0].click();', modal_close_button)` works as a GitHub Action when executed for the 'Modal search opens and closes and allows user to search, select and remove items' test within this same file.
@aaronskiba aaronskiba force-pushed the aaron/upstream/issues/3478 branch from d8db709 to 8a7d832 Compare February 13, 2025 23:12
@aaronskiba aaronskiba marked this pull request as ready for review February 13, 2025 23:25
@aaronskiba aaronskiba requested a review from johnpinto1 March 10, 2025 16:07
Copy link
Contributor

@johnpinto1 johnpinto1 left a comment

Choose a reason for hiding this comment

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

I have tested by adding and editing/removing "Intended Repositories" and "MetadataStandards" to the Research Outputs. Prior to change these failed to be saved. With change I was able to add, editing and remove repostories and metadata standards for a Re
Selection_050
search Output of a plan.

@aaronskiba aaronskiba merged commit a025258 into DMPRoadmap:development Mar 12, 2025
3 of 4 checks passed
@aaronskiba aaronskiba deleted the aaron/upstream/issues/3478 branch March 12, 2025 15:27
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