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

EZP-32098: Provided backwards compatibility for removed ez-icons.svg #22

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

webhdx
Copy link
Contributor

@webhdx webhdx commented Oct 22, 2020

Question Answer
JIRA issue EZP-32098
Improvement yes
New feature yes
Target version master
BC breaks no
Tests pass yes
Doc needed no

Removing ez-icons.svg file from AdminUI could break 3rd party code. In order to provide backwards compatibility, AssetsInstallCommandSubscriber will symlink/copy new file in old ez-icons.svg path after using assets:install command.

TODO:

  • Implement feature / fix a bug.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@webhdx webhdx added Improvement Good for newcomers Ready for review labels Oct 22, 2020
@webhdx webhdx requested review from lserwatka, micszo and a team October 22, 2020 14:15
@webhdx webhdx self-assigned this Oct 22, 2020
Copy link
Member

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reversed the changes from https://github.com/ezsystems/ezplatform-workflow/pull/168 to test whether the fallback to old icons is working.

Tested all the methods of installing assets (hardcopy, symlink, relative symlink) - all worked and the icons appeared as they should.

Albo performed a deployment on Platform.sh which succeeded.

Approved!

@lserwatka
Copy link
Member

Thank you @webhdx @mnocon This is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants