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

project dump --anonymize produces a corrupted dump file #292

Closed
Saiyan opened this issue Jan 17, 2024 · 0 comments
Closed

project dump --anonymize produces a corrupted dump file #292

Saiyan opened this issue Jan 17, 2024 · 0 comments

Comments

@Saiyan
Copy link

Saiyan commented Jan 17, 2024

PHP Version

8.1.27

Shopware Version

6.5.8.0

Plugin Version

0.4.12

Actual behaviour

When importing a anonymized dump the following error occurs:

ERROR at line 6303: Unknown command '\"'.

The specified line did not show any visible error but one or two lines above (inside the same statement). I saw that the dumped data contains names with unescaped single quotation marks like this 'Janiya O'Connell'

Expected behaviour

The dump should be imported without errors.

Steps to Reproduce?

Create a anonymized dump of a database with multiple existing customers and try to import it into an empty database.
Since the values are randomized you maybe have to dump a few times.

@shyim shyim closed this as completed in 9b9c593 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant