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

Fix virtual product file removal #6970

Merged
merged 1 commit into from
Dec 6, 2016
Merged

Fix virtual product file removal #6970

merged 1 commit into from
Dec 6, 2016

Conversation

antoin-m
Copy link
Contributor

Questions Answers
Branch? develop
Description? The virtual product's file removal link was missing the product's id
Type? bug fix
Category? BO
BC breaks? no
Deprecations? no
Fixed ticket? http://forge.prestashop.com/browse/BOOM-1786
How to test? Create a virtual product and add a file then remove it.

As suggested here.
This technique is already used here and here and even if it's not really clean we don't have many choices since we have to match the /\d/ regex constraint for the ids.
We should consider using something like this in the future.

@M03G
Copy link
Contributor

M03G commented Nov 14, 2016

@antoin-m Thanks for adding my solution :)
I did not understand how to do multiple PR, so do not add it. I'm waiting for approval of another my PR...

@vTerenti vTerenti added the QA ✔️ Status: check done, code approved label Nov 14, 2016
@aleeks
Copy link
Contributor

aleeks commented Dec 6, 2016

Thank you @antoin-m

@aleeks aleeks merged commit d9ec297 into PrestaShop:develop Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA ✔️ Status: check done, code approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants