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 warning when duplicating products #5412

Merged

Conversation

mcdado
Copy link
Contributor

@mcdado mcdado commented Apr 18, 2016

Questions Answers
Branch? develop
Description? When cloning a product and image watermarking is on, but the product being copied didn't have its images already watermarked (maybe it wasn't run retroactively) there would be a warning for trying to copy the watermark images that aren't there.
Type? bug fix
Category? Core
BC breaks? no
Deprecations? no
Fixed ticket? no
How to test?
  1. Create a product and add an image
  2. turn on watermarking (without regenerating images)
  3. clone the product.
You'll see some warnings being logged.

When cloning a product and image watermarking is on, but the product
being copied didn't have its images already watermarked (maybe it wasn't
run retroactively) there would be a warning for trying to copy the
watermark images that aren't there.
@xBorderie xBorderie added Bug Type: Bug waiting for code review Waiting for QA Status: action required, waiting for test feedback labels May 25, 2016
@antho-girard
Copy link
Contributor

Hi,

This PR fixes the warning indeed.

@julienbourdeau julienbourdeau added Code reviewed and removed waiting for code review Waiting for QA Status: action required, waiting for test feedback labels Jun 15, 2016
@julienbourdeau julienbourdeau merged commit 89c5c35 into PrestaShop:develop Jun 15, 2016
@julienbourdeau
Copy link
Contributor

Thank you!

@mcdado mcdado deleted the fix-warning-image-without-watermark branch June 15, 2016 09:25
@Shudrum Shudrum changed the title [-] CORE: Fix warning when duplicating products Fix warning when duplicating products Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants