Fix period_type, duration_unit, duration_frequency to be required on membership type form #13227
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Fixes a regression where some required fields are not showing as required
Before
Duration unit, frequency & plan type (period_type) not showing as required
After
fields required
Technical Details
@mattwire this is from changes to the membership type form - I feel like we should get this merged for the rc (@monishdeb @seamuslee001 maybe one of you can merge).
I also think that MembershipType.xml should have these fields marked as required - I am always a bit hesitation to make changes like that in an update script in case a site has already some nulls & it causes pain. However, changing the schema only would change the DAO / new installs
Comments