Skip to content
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

options "auditing_services", "storage_services" do not exist #334

Closed
frostieDE opened this issue Dec 2, 2022 · 3 comments
Closed

options "auditing_services", "storage_services" do not exist #334

frostieDE opened this issue Dec 2, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@frostieDE
Copy link

Q A
auditor-bundle version 5.2.0
auditor version 2.3.1
PHP version 8.1.7
Database MySQL

Summary

After a recent update (using composer update) I receive an error. I suppose it has something to do with changes in this commit as some options are removed (which may be configured by this bundle?)

My configuration is quite simple:

# Full configuration reference available at:
# https://damienharper.github.io/auditor-docs/docs/auditor-bundle/configuration/reference.html
dh_auditor:
    enabled: '%env(bool:AUDIT_ENABLED)%'
    timezone: 'Europe/Berlin'
    providers:
        doctrine:
            viewer: true
            table_prefix: null
            table_suffix: '_audit'

When reverting to auditor version 2.3.0 this error is gone.

Current behavior

When running php bin/console cache:clear:

In OptionsResolver.php line 871:
                                                                                                                                                                                     
  The options "auditing_services", "storage_services" do not exist. Defined options are: "entities", "ignored_columns", "storage_mapper", "table_prefix", "table_suffix", "viewer".  
                                                                                                                                                                                     

How to reproduce

Update to recent version of both auditor and auditor-bundle.

Expected behavior

No error :)

@frostieDE frostieDE added the bug Something isn't working label Dec 2, 2022
@DamienHarper
Copy link
Owner

@frostieDE Well, this is a regression from latest auditor version. Will fix it asap, sorry for the inconvenience.

DamienHarper added a commit to DamienHarper/auditor that referenced this issue Dec 2, 2022
@DamienHarper
Copy link
Owner

@frostieDE I released 2.3.2 which should fixes the issue. Feel free to reopen if needed.

DamienHarper added a commit to DamienHarper/auditor that referenced this issue Dec 2, 2022
@frostieDE
Copy link
Author

Will fix it asap, sorry for the inconvenience.

Thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants