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 issue #6272 'Changing sample for downloadable product failure' ha… #14706

Closed
wants to merge 3 commits into from
Closed

Conversation

molneek
Copy link
Contributor

@molneek molneek commented Apr 14, 2018

…s been fixed

Description

Fixed Issues (if relevant)

  1. Changing sample for downloadable product failure #6272

Manual testing scenarios

  1. ...
  2. ...

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Apr 14, 2018

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ rogyar
❌ molneek

@rogyar rogyar self-assigned this Apr 15, 2018
@magento-engcom-team magento-engcom-team added this to the April 2018 milestone Apr 15, 2018
@rogyar
Copy link
Contributor

rogyar commented Apr 15, 2018

@molneek Thank you for your contribution. Plase, consider also creating backports for 2.2 and 2.1 versions.

@rogyar
Copy link
Contributor

rogyar commented Apr 16, 2018

Unfortunately, we have a failing API-functional test here. It's not being executed by travis but can be executed manually.

1) Magento\Downloadable\Api\ProductRepositoryTest::testUpdateDownloadableProductSamplesWithNewFile
Exception: {"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/577551418110"}]}}

"Fatal Error: 'Uncaught TypeError: Argument 1 passed to 
Magento\\Downloadable\\Model\\File\\ContentUploader::upload() 
must implement interface Magento\\Downloadable\\Api\\Data\\File\\ContentInterface, \null given, called in 
app\/code\/Magento\/Downloadable\/Model\/SampleRepository.php 
on line 233

@molneek
Copy link
Contributor Author

molneek commented May 6, 2018

@rogyar Has been updated that code. Please run tests again

@rogyar
Copy link
Contributor

rogyar commented Jul 12, 2018

Unfortunately, the API-functional tests are still failing but with another issue:

Magento\Downloadable\Api\ProductRepositoryTest::testUpdateDownloadableProductSamplesWithNewFile
Failed asserting that false is true.

@rogyar
Copy link
Contributor

rogyar commented Aug 2, 2018

@molneek I'm closing this PR due to inactivity. Feel free to reopen it if you decide to proceed. Thank you

@rogyar rogyar closed this Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants