Important: Profile create and update commands refuse wrong page lists
Description
academic: and
academic: read
-- and
-- with
General, which converts every part to an integer,
whatever it holds. A list such as abc became page 0, and 100;110
became page 100. The run ended with exit code 0 and
printed nothing, so a typo widened or narrowed it without notice.
Both commands now read the two options the way
academic: does: every comma-separated part must be a
page uid. A list with any other part is refused with an error message and the
exit code 2 (invalid input), and nothing is created or updated.
Both commands also report their result:
academic:prints the number of created profiles. When it created none andcreateprofiles profile.is disabled in the extension configuration ofauto Create Profiles EXT:, it says so, because that option is what makes the default profile factory create profiles at all. A profile factory chosen through theacademic_ persons Choosemay ignore the option, so the hint names the default factory.Profile Factory Event academic:prints the number of frontend users whose profiles it updated.updateprofiles
Impact
A scheduler task or a script that passes a page list with a part that is no page uid fails now instead of running with a different list. Correct the list. Spaces around the commas and empty parts are still accepted.
Affected Installations
Installations that run the profile create or update command with
-- or
--.