Skip to content

Commit

Permalink
Fix for url_rewrite on page delete via api
Browse files Browse the repository at this point in the history
For develop see PR magento#10568

Problem: when deleting a cms page via api the url_rewrites aren't deleted

Steps to reproduce:
- add cms page via api
- delete cms page via api
- add new cms page with same identifier via api
- ERROR: Could not save the page, URL key already exists

Solution: moved di.xml from etc/adminhtml to etc/ folder in CmsUrlRewrite module
Event trigger to delete url rewrites is located in di.xml
  • Loading branch information
An Van den Bosch committed Aug 17, 2017
1 parent 8d7aab7 commit ffd33ff
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit ffd33ff

Please sign in to comment.