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

The table prefixes duplication during installation of Extended Fields plugin #91

Open
WaldemarOrobanche opened this issue Mar 20, 2020 · 0 comments

Comments

@WaldemarOrobanche
Copy link

WaldemarOrobanche commented Mar 20, 2020

Mautic: 2.16.0
Extended Fields: 2.15
PHP: 7.1.33

The table prefixes duplication during installation of Extended Fields plugin.

image

We don't need to attach the table prefix in the table declaration of the loadMetadataCommon method, because this is handle by the loadClassMetadata event in the DoctrineEventsSubscriber class.

->setTable(MAUTIC_TABLE_PREFIX.'lead_fields_leads_'.$dataType.($secure ? '_secure' : '').'_xref');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant