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

Feature/subject pair dialog component expansion #710

Closed

Conversation

Bdegraaf1234
Copy link
Member

Description: Adds components to display the requested fields (name, date of birth, external id) in the subject-pair-dialogue
Fixes #706

Checklist:

  • The Main workflow has succeeded
  • The Gatling tests have passed
  • I have logged into the portal running locally with default admin credentials
  • I have updated the README files if this change requires documentation update
  • I have commented my code, particularly in hard-to-understand areas

@Bdegraaf1234 Bdegraaf1234 self-assigned this Sep 6, 2023
…ely not the most clean way to do this, at it was done by altering the changelogs, which negates their purpose to some extent.
Copy link
Member

@blootsvoets blootsvoets left a comment

Choose a reason for hiding this comment

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

Thanks Bastiaan for this start. I've made some comments inline. The base branch should be changed from master to dev

@@ -21,7 +21,7 @@
-->
<changeSet id="20210929120000-1" author="[email protected]">
<addColumn tableName="subject">
<column name="date_of_birth" type="date"/>
<column name="date_of_birth" type="date" defaultValueDate="1999-01-01"/>
Copy link
Member

Choose a reason for hiding this comment

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

No changes should be made to existing Liquibase changeSets, because it leads to undefined state of the database. If you want to add a default value (I think we shouldn't, it should be null), a new changeset should be created.

Copy link
Member Author

Choose a reason for hiding this comment

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

added a changeset with some testvalues in #713

Copy link
Member

Choose a reason for hiding this comment

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

default value should still be removed -- it also affects production databases

</addColumn>
</changeSet>
<changeSet id="20211006150000-2" author="[email protected]">
<addColumn tableName="subject_aud">
<column name="person_name" type="varchar(255)"/>
<column name="person_name" type="varchar(255)" defaultValue="John Doe"/>
Copy link
Member

Choose a reason for hiding this comment

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

Similar to above

No changes should be made to existing Liquibase changeSets, because it leads to undefined state of the database. If you want to add a default value (I think we shouldn't, it should be null), a new changeset should be created.

Copy link
Member Author

Choose a reason for hiding this comment

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

added a changeset with some testvalues in #713

Copy link
Member

Choose a reason for hiding this comment

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

This default value should still be removed. It also affects production databases.

@Bdegraaf1234
Copy link
Member Author

Closed and moved to #713

@Bdegraaf1234 Bdegraaf1234 reopened this Sep 8, 2023
@Bdegraaf1234 Bdegraaf1234 deleted the feature/subject-pair-dialog-component-expansion branch November 23, 2023 13:10
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.

Show external ID on pair dialog
2 participants