-
Notifications
You must be signed in to change notification settings - Fork 4
Problem with using fields of type 'array' in model #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@skondakov please check. Maybe #22 also fix this issue you had. |
Should be fixed by a656dd9 |
reopen if issue is still there. |
DarkSide666
added a commit
that referenced
this issue
Feb 11, 2020
* Update README.md * improve support for bypassing log * Improve better separation of reactive diffs * minor bugfixes * Improve handling of new records * upgrade for new agiledata * Minor bug-fixes * drop php 5.5 and update phpunit * prevent php7.1 from complaining * clanup * add licnse * Update README.md * make it work with verisons or dev version * fix license * try with dev-develop * Sample SQL for audit_log table in MySQL * typo * model_id was missing * remove database name * don't log dsql expressions. maybe also helps with #21 * Cleanup and refactor * Theoretical implementation of audit Lister view * Implement Lister and create demo * nice lister template and update lister class * work in progress * work in progress * now all works good * add pug files * address @romans comments and rename controller property to auditController * empty audit records * make demo nicer and move db migrator to separate page * more test cases for nested audit logs and undo etc * help with backward compatibility * model->no_audit=true support * fix audit for serialized fields, adds test * add release tools * added suggest * fixes * tweak release script * minor cleanups * minor fix * minor cleanups * Added release notes for 1.1.1 * minor cleanups * minor celanup * add manage of caption and reference/One values in place of ref->id * fix issue related to atk4/data#439 * Fix problem with using audit log under cli * update composer * Create release-drafter.yml * Create bundler.yml * Create unit-tests.yml * release drafter * Setting release dependencies Co-authored-by: Romans Malinovskis <me@nearly.guru> Co-authored-by: Imants Horsts <DarkSide666@users.noreply.github.com> Co-authored-by: PhilippGrashoff <33204878+PhilippGrashoff@users.noreply.github.com> Co-authored-by: Francesco Danti <fdanti@gmail.com> Co-authored-by: Svetlozar Kondakov <skondakoff@gmail.com> Co-authored-by: GitHub Web Flow <noreply@github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use fields of type 'array' like:
$this->addField('template_vars', ['type' => 'array', 'serialize' => 'json']);
I get an error like this, when I have an audit logging enabled for this model:
https://www.screencast.com/t/z9dLvrqmfC
The text was updated successfully, but these errors were encountered: