magmodules / magento2-sooqr

Sooqr Connect for Magento® 2
https://www.magmodules.eu/sooqr-connect.html
Other
2 stars 3 forks source link

Hypernode issue (/data/web) #57

Closed ruthgeridema closed 7 months ago

ruthgeridema commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

Used versions

Actual behavior The file or directory "/data/web/magento2/pub/media/sooqr/data/sooqr-1-1706617649.xml" cannot be copied to "/web/magento2/pub/media/sooqr/sooqr-1.xml" Warning!copy(/web/magento2/pub/media/sooqr/sooqr-1.xml): Failed to open stream: No such file or directory

The file or directory "/data/web/magento2/pub/media/sooqr/data/sooqr-2-1706617650.xml" cannot be copied to "/web/magento2/pub/media/sooqr/sooqr-2.xml" Warning!copy(/web/magento2/pub/media/sooqr/sooqr-2.xml): Failed to open stream: No such file or directory

Additional context

if ($type == FeedType::FULL) {
            $this->file->copy($filePath, str_replace('/data/', '/', $this->getFilePath($type, $storeId)));
        }
Marvin-Magmodules commented 7 months ago

@ruthgeridema thank you for opening this issue. The referred code indeed looks weird, will look into this issue asap and come back with a fix.

Marvin-Magmodules commented 7 months ago

Hi @ruthgeridema just released v2.0.2 that holds a fix for this issue. We are closing this issue now but please feel free to reopen if it doesn't fit your needs.