Closed bluemwhitew closed 5 days ago
@magento run Integration Tests, Unit Tests
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.
@magento run all tests
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.
@magento run all tests
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.
@dhaecker,
Sorry to ping directly, are these test failures already known (not related to this PR)? 🙏🏻
@bluemwhitew Hi, long time no see!
Those failures are definitely not expected. Looking at the builds, branches being used, etc., I THINK the issue is that magento/magento2-page-builder/ is not synced with magento-commerce/magento2-page-builder/. Looks like the commits are 1 year behind so a LOT of stuff is missing (like php 8.2 compatibility & whatever else)... I'll ask around & see how this can be fixed
@magento run all tests
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.
@bluemwhitew i think i fixed the issue. magento/magento2-page-builder/develop was out of sync with magento-commerce/magento2-page-builder/develop. it is now in sync. however, you now need to merge in latest develop into your branch. once you do that, i THINK the builds should work
direct message me again if there are more problems (otherwise I might miss it)
@magento run all tests
@magento run Functional Tests B2B, Static Tests
@magento run Functional Tests B2B, Static Tests
@magento run all tests
:heavy_check_mark: QA Passed
Preconditions: Enable PageBuilder
Manual testing scenario:
.template-manager
directoryBefore: :heavy_multiplication_x:
Actual Result: :heavy_check_mark:
Image(s) should stored under ~/pub/media/.template-manager/
After: :heavy_check_mark:
Tested all the manual scenarios, no impact on regression testing.
@magento run Functional Tests B2B, Functional Tests EE, Functional Tests CE
@magento run Functional Tests B2B
@magento run Functional Tests B2B
@magento run Functional Tests B2B
@magento run Functional Tests B2B
@magento run Functional Tests B2B
Moving the PR in Merge in progress
Thank you so much! 🙏🏻
Description (*)
This fixes an issue where Page Builder would save its preview images into the top-level
media
directory, as opposed to within its designated.template-manager
subdirectory. It also contains some minor refactoring.Story
N/A
Bug
N/A
Task
N/A
Fixed Issues
Builds
N/A
Related Pull Requests
N/A
Manual Testing Scenarios (*)
.template-manager
directoryQuestions or Comments
Other minor improvements that can be made here include:
storePreviewImage
method by creating helper methods which handle image naming conventions, etc.str_replace('.jpg', '-thumb.jpg', ...)
so that other file formats (such as PNG) can be used, particularly via data patches.Checklist