-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
View templatesRemove email "Preview" from BO section "Statutes" (because it's not working) #36171
Conversation
ShaiMagal
commented
May 15, 2024
•
edited by florine2623
Loading
edited by florine2623
Questions | Answers |
---|---|
Branch? | 8.1.x |
Description? | Check issue #36165 |
Type? | improvement |
Category? | BO |
BC breaks? | no |
Deprecations? | no |
How to test? | Go to any Order State with mail template and check, if there is button "Preview" |
UI Tests | https://github.com/florine2623/testing_pr/actions/runs/9658853714 ✅ |
Fixed issue or discussion? | Fixes #36165 |
Related PRs | |
Sponsor company | https://www.openservis.cz/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not how we should do things, removing something because it stopped working is not a solution.
Isn't a solution to simply allow browsing these files in the .htaccess? |
@kpodemski probably a security issue, everyone could browse your templates |
@kpodemski But this is not working for 4 years (#17759)... It's nothing new... So better option is to leave this still not working and still explaining customers? seriously? :-D Better option for me is hide this, if this is not working for 4 years already. Customers are complaining. Hiding is not ideal solution, but better than leave this feature still broken....... :/ Unfortunatelly, no :( because, it will allow "attacker" to see content of this mail templates. And this is purpose of .htaccess to hide this from public. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. From the code perspective, it's good, from the product point of view, I'd like to see @MatShir opinion on this one, I think it's not the end of the world to temporarily disable this.
LGTM 👌 |
QA approved, well done! Message to the maintainers: do not forget to milestone it before the merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it is QA ✅