DamienHarper / auditor

auditor, the missing audit log library
MIT License
164 stars 53 forks source link

2.4.4 broke enum compatibility #153

Closed nesl247 closed 1 year ago

nesl247 commented 1 year ago
Q A
auditor version 2.4.4
PHP version 8.1.13
Database PostgreSQL 13

Summary

2.4.4 broke diffs when the new is an enum. I was able to revert to 2.4.3 and the issue went away.

Current behavior

mb_convert_encoding(): Object is not supported CleanShot 2023-01-24 at 15 43 36

How to reproduce

Create an entity with an string backed enum property, and try to persist a change.

Expected behavior

The diff is generated without error

DamienHarper commented 1 year ago

@nesl247 Thanks for the report, I'll have a look at this issue shortly

DamienHarper commented 1 year ago

Fixed thanks to @martijnboers