Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83ffbe0

Browse files
authored
bug #11357 Add notice about moved templates during upgrade (jacquesbh)
This PR was merged into the 1.7 branch. Discussion ---------- Using the old files leads to a not found template error in Front or Admin. | Q | A | --------------- | ----- | Branch? | 1.7 or master, I don't know if we consider this as a bug fix or not :p | Bug fix? | yes or no… for me yes, for others no. | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | fixes #X, partially #Y, mentioned in #Z | License | MIT This PR is quite simple. I've just added some information about the move of some templates. I was using these templates and faced the issue in production since it was an edge case. Better to tell than sorry. Commits ------- a5f44c0 Add notice about moved templates during upgrade
2 parents 6b9796e + a5f44c0 commit 83ffbe0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

UPGRADE-1.7.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ Those are excluded from our BC promise:
6969

7070
- `Sylius\Bundle\ShopBundle\EventListener\UserMailerListener` has been removed and replaced with `Sylius\Bundle\CoreBundle\EventListener\MailerListener`
7171

72+
## Templates moved
73+
74+
We've moved the following templates:
75+
76+
- `@SyliusAttribute/Types/*.html.twig`
77+
You should search for `SyliusAttribute/Types` and `SyliusAttributeBundle:Types` in your templates and make the changes accordingly:
78+
- in the Admin area: `@SyliusAdmin/Product/Show/Types/*.html.twig`
79+
- in the Shop area: `@SyliusShop/Product/Show/Types/*.html.twig`
80+
7281
## Billing and shipping addresses have been switched with one another
7382
7483
Until now shipping address used to be the default address of an Order. We have changed that, so now the billing address

0 commit comments

Comments
 (0)