Skip to content

Commit 76a4c33

Browse files
Copilotmaniaba
andauthored
docs: add Entity::normalizeValue() UnitEnum fix to v4.7.3 changelog (#6)
Agent-Logs-Url: https://github.com/maniaba/CodeIgniter4/sessions/40f33833-bf97-486e-a6d8-5d95bff1bf50 Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: maniaba <[email protected]>
1 parent 94a05ff commit 76a4c33

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

user_guide_src/source/changelogs/v4.7.3.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Bugs Fixed
4040
- **CLI:** Fixed a bug where ``CLI::generateDimensions()`` leaked ``stty`` error output (e.g., ``stty: 'standard input': Inappropriate ioctl for device``) to stderr when stdin was not a TTY.
4141
- **Commands:** Fixed a bug in the ``env`` command where passing options only would cause the command to throw a ``TypeError`` instead of showing the current environment.
4242
- **Common:** Fixed a bug where the ``command()`` helper function did not properly clean up output buffers, which could lead to risky tests when exceptions were thrown.
43+
- **Entity:** Fixed a bug where ``Entity::normalizeValue()`` did not handle ``UnitEnum`` before checking for ``toArray()``, causing enums implementing ``toArray()`` to be incorrectly normalized as generic objects instead of enums.
4344
- **Validation:** Fixed a bug where ``Validation::getValidated()`` dropped fields whose validated value was explicitly ``null``.
4445

4546
See the repo's

0 commit comments

Comments
 (0)