Problem/Motivation

Admin configuration accepting blank dates for From or To fields. On Admin config, enter one of the date fields (From or To) as empty and submit .And module accepts the registration.

Proposed resolution

The module validating the date fields together and fail only if both fields are empty. Change the condition from AND to OR

CommentFileSizeAuthor
#5 3073879.patch879 bytesmanoj124

Comments

munavir created an issue. See original summary.

patelmayank7552’s picture

Assigned: Unassigned » patelmayank7552
Issue summary: View changes
xaiwant’s picture

Assigned: patelmayank7552 » Unassigned
Status: Active » Needs work
manoj124’s picture

Assigned: Unassigned » manoj124
manoj124’s picture

Assigned: manoj124 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new879 bytes

Hi @Mayank and @Xaiwant,

I have fixed this issue and attached a patch for the same. Please review the patch and apply it.

Thanks,

yashaswini’s picture

Status: Needs review » Reviewed & tested by the community

Hi Manoj
I have reviewed the patch and its working fine .

  • xaiwant committed c4229e1 on 7.x-1.x
    Issue #3073879 by manoj124, munavir, xaiwant, yashaswini: Accepting...
xaiwant’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.