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 date and datetime required validations issue #7198

Merged
merged 2 commits into from Jul 27, 2020

Conversation

soupette
Copy link
Contributor

@soupette soupette commented Jul 27, 2020

Signed-off-by: soupette cyril.lpz@gmail.com

Description of what you did:

This PR fixes the required validation issue when updating a entry that has a required date field.

Signed-off-by: soupette <cyril.lpz@gmail.com>
Signed-off-by: soupette <cyril.lpz@gmail.com>
@soupette soupette added source: core:content-manager Source is core/content-manager package issue: bug Issue reporting a bug labels Jul 27, 2020
@codecov
Copy link

codecov bot commented Jul 27, 2020

Codecov Report

Merging #7198 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7198      +/-   ##
==========================================
- Coverage   26.17%   26.17%   -0.01%     
==========================================
  Files        1130     1130              
  Lines       15406    15410       +4     
  Branches     2436     2438       +2     
==========================================
  Hits         4033     4033              
- Misses       9557     9559       +2     
- Partials     1816     1818       +2     
Flag Coverage Δ
#front 18.27% <0.00%> (-0.01%) ⬇️
#unit 52.94% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ainers/EditViewDataManagerProvider/utils/schema.js 0.00% <0.00%> (ø)
packages/strapi-utils/lib/parse-multipart.js 12.50% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e81c6ba...3639fdc. Read the comment docs.

Copy link
Member

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

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

LGTM. @ralphsomeday does that fix your issues ?

@alexandrebodin alexandrebodin added this to the 3.1.2 milestone Jul 27, 2020
@alexandrebodin alexandrebodin merged commit 9c4728c into master Jul 27, 2020
@alexandrebodin alexandrebodin deleted the fix/date-validations branch July 27, 2020 16:48
@ralphsomeday
Copy link
Contributor

LGTM. @ralphsomeday does that fix your issues ?

@alexandrebodin this should fix it :)! thanks. I guess you will be releasing it in 3.1.2, right?

@pjamieson
Copy link

Just updated to 3.1.2. Issue with required boolean values remains as described above.

@alexandrebodin
Copy link
Member

@pjamieson did you rebuild your admin ?

@pjamieson
Copy link

pjamieson commented Jul 30, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug source: core:content-manager Source is core/content-manager package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entries can't be saved when boolean field is set as required
4 participants