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

string 'null' sent instead of null value caused data saving failure #682

Merged

Conversation

oliviercrouzet
Copy link

On licensing upload form, if no effective date is entered, this induce a msql error
similar problem on management module

On licensing upload form, if no effective date is entered, this induce a msql error
similar problem on management module
Copy link

@gmcharlt gmcharlt left a comment

Choose a reason for hiding this comment

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

Change works as advertised. In particular, it allows me to upload licenses with empty effective dates.

On the management document upload side, I wasn't able to find a way to trigger an upload with an empty effective date (as the form defaults that date to today's date), but if that branch of execution ever gets reached, the proposed change would make it do the right thing.

Copy link
Contributor

@spaceisntsyntax spaceisntsyntax left a comment

Choose a reason for hiding this comment

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

Straight forward think-o fix. This works in production and is ready to go.

@spaceisntsyntax spaceisntsyntax changed the base branch from master to development October 11, 2022 19:37
@spaceisntsyntax spaceisntsyntax merged commit 5a7b6ef into coral-erm:development Oct 11, 2022
@andyp-uk andyp-uk added the bug This is a bug (not an enhancement) label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug (not an enhancement)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants