-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development
Description
Not sure how to add a pull request so will post it here.
When adding an image to a product, it gives an error as the title says. so the image doesn't save.
To fix:
magento/magento2/blob/2e228234/app/code/Magento/Catalog/Model/View/Asset/Image.php
Change:
public function getPath()
{
return $this->getRelativePath($this->context->getPath());
}
replace with:
public function getPath()
{
$result = $this->context->getPath();
$result = $this->join($result, $this->getModule());
$result = $this->join($result, $this->getMiscPath());
return $this->join($result, $this->getFilePath());
}
This fixes the issue so dont know how to include this in the files to download.
thisisapen
Metadata
Metadata
Assignees
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development