dev/translation#58 - Fix regression. Partially revert schema for civicrm_group.title #18925
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
This aims to address a recent regression in 5.31-rc. It partially reverts a change where #18599 marked the
civicrm_group.title
field as<required>true</required>
.It fixes a regression and failing unit-test that can be observed in bknix-min.
See also: https://lab.civicrm.org/dev/translation/-/issues/58
Before and After
civicrm_group.title
is not required (DEFAULT NULL
)civicrm_group.title
is required (NOT NULL
)civicrm_group.title
is not required (DEFAULT NULL
)Comments
I'm not certain if a revert is workable - but don't see an obvious drawback. It's simple and worth trial.
Even with this schema-level patch, the UI (
civicrm/group/add?reset=1
) still treats the field as required.@artfulrobot @seamuslee001 - in the discussion of #18599, was there a specific reason for flagging the field
required
(perhaps something discussed elsewhere)? From the Github note, it doesn't sound too important?@bgm - any experience with similar bugs before? thoughts?