Commit graph

71 commits

Author SHA1 Message Date
Rafikooo
3e1e1df2a8
[Behat] Unify saving step naming 2023-03-16 16:44:05 +01:00
Grzegorz Sadowski
53ffb7b0bc
[Behat] Improve scenarios to work with case sensitive PostgreSQL 2022-09-21 08:12:50 +02:00
Kevin Kaniaburka
62f3d5cc9e
[Addressing] Add ZoneDenormalizer 2022-06-09 17:11:54 +02:00
Kevin Kaniaburka
34dc89111c
[Addressing][Behat] Add scenario for removing and adding zone members again 2022-06-09 17:09:32 +02:00
Kevin Kaniaburka
71d72ec7fd [Addressing] Add BuildZoneFormSubscriber 2022-06-09 09:55:56 +02:00
Kevin Kaniaburka
cb6bd05ec4 [Addressing][Behat] Add scenario for removing and adding zone members again 2022-06-09 09:55:56 +02:00
Grzegorz Sadowski
7a1fb9cb1f
minor #14058 [Admin][Zones] Choosing disabled country as a zone member made possible for admin user (TheMilek)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11 <!-- see the comment below -->          |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Right now we’re experiencing a bug-o-feature, where when you disable a country that is a zone member, the members list on the Zone shows empty dropdown and field is unable to be controlled.

Changes made:

- adding disabled countries as zone members made possible for admin users
- search dropdown added instead of select dropdown field

Before:
![502e0587-5f2a-46e6-bf0a-978a51e0462c](https://user-images.githubusercontent.com/53942444/172257473-40796456-eef2-4287-9462-7c116b233012.png)
After:
<img width="601" alt="Zrzut ekranu 2022-06-7 o 15 24 15" src="https://user-images.githubusercontent.com/53942444/172391514-ce9b377c-32bb-4e45-b9d1-446ce161beda.png">




Commits
-------

2093c5c561 [Zones] disabled country choosing made possible
2022-06-08 20:22:43 +02:00
TheMilek
2093c5c561
[Zones] disabled country choosing made possible 2022-06-08 13:06:09 +02:00
Kevin Kaniaburka
47fef6e01b [Addressing] Enable orphan removal for zone members 2022-06-07 15:43:28 +02:00
Kevin Kaniaburka
5849e0f9bd [Addressing][Behat] Add scenarios for deleting zones and provinces that are zone members 2022-06-06 11:43:54 +02:00
arti0090
864c23d727 disable province edit code 2020-09-09 11:12:36 +02:00
arti0090
9e6204e603 created behat scenario and initial implementation of steps 2020-09-09 11:12:36 +02:00
Łukasz Chruściel
f5d806745d
Merge branch '1.7'
* 1.7:
  [Behat] Add javascript tags
  Revert "[Behat] Remove js requirement for bulk delete scenarios"
  [Docs] Udpdate obsolete branches
  [Documentation] removed 1.6 as a maintenance branch
  [Admin] removed duplicated id attribute
  [Account] Add spec to sync username with customer email
  Injecting locale parameter instead of having it harcdoded
  [Behat] Unfinalize some Behat pages
  [Shop] Add form in add to cart template event args
  [Admin] Convert newlines in product description to breaklines in product details view
2020-08-17 09:18:01 +02:00
Destiny
7a055234f2
[Behat] Add javascript tags 2020-08-15 13:46:18 +02:00
Łukasz Chruściel
c5e319511d
feature #11372 [API] Zones (oallain, GSadee)
This PR was merged into the 1.8-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | partially #11250
| License         | MIT

Cover `features/addressing/managing_zones/`

- [x] adding_zone.feature  
- [x] browsing_zone.feature  
- [x] deleting_multiple_zones.feature  
- [x] deleting_zone.feature  
- [x] editing_zone.feature
- [x] zone_unique_code_validation.feature  
- [x] zone_validation.feature





Commits
-------

6a8324bd0e adding zone
3ddbcbf90b browsing zone
e2c514f4be deleting zone
28ae5d484b deleting multiple zones
88cf3236ee editing zone
ba3b88f960 zone unique code validation
e757ce8f62 zone validation
dc69492017 editing zone
faa9da1200 rebase and update after merge #11397
d19fca5cba [API][Zone] Minor fixes after review
b9df4a5f60 [API][Zone] Revert implementation of seeing disable type field scenarios in api context
788c2ea47b [Zone] Move zone validator from ApiBundle to AddressingBundle
2020-05-12 12:35:50 +02:00
Grzegorz Sadowski
62a2c1c909
[API] Fixes for validating province name scenario 2020-05-11 14:47:28 +02:00
Adam Kasperczak
0bc0e41542
[Countries][API] cover non-empty province name validation 2020-05-11 13:58:01 +02:00
Grzegorz Sadowski
788c2ea47b
[Zone] Move zone validator from ApiBundle to AddressingBundle 2020-05-11 13:49:11 +02:00
Grzegorz Sadowski
b9df4a5f60
[API][Zone] Revert implementation of seeing disable type field scenarios in api context 2020-05-11 13:49:11 +02:00
Olivier ALLAIN
dc69492017
editing zone 2020-05-11 12:41:48 +02:00
Olivier ALLAIN
e757ce8f62
zone validation 2020-05-11 12:41:48 +02:00
Olivier ALLAIN
ba3b88f960
zone unique code validation 2020-05-11 12:41:47 +02:00
Olivier ALLAIN
88cf3236ee
editing zone 2020-05-11 12:41:47 +02:00
Olivier ALLAIN
28ae5d484b
deleting multiple zones 2020-05-11 12:41:47 +02:00
Olivier ALLAIN
e2c514f4be
deleting zone 2020-05-11 12:41:47 +02:00
Olivier ALLAIN
3ddbcbf90b
browsing zone 2020-05-11 12:41:46 +02:00
Olivier ALLAIN
6a8324bd0e
adding zone 2020-05-11 12:41:46 +02:00
Olivier ALLAIN
09c8665469 rebase and update after merge #11397 2020-04-30 21:29:26 +02:00
Olivier ALLAIN
afbe436554 refactor after code review 2020-04-30 13:38:26 +02:00
Olivier ALLAIN
317232d116 province validation 2020-04-30 13:38:26 +02:00
Olivier ALLAIN
96b5d6a62c province unique code validation 2020-04-30 13:38:25 +02:00
Olivier ALLAIN
97afba952c managing provinces of country 2020-04-30 13:38:25 +02:00
Olivier ALLAIN
92efb5eb35 adding country with provinces 2020-04-30 13:38:25 +02:00
Olivier ALLAIN
45cf126d65 add country to Api Platform 2020-04-30 13:38:25 +02:00
Mateusz Zalewski
4013e51dfd
[Behat] Remove js requirement for bulk delete scenarios 2019-12-19 09:03:04 +01:00
Tobias Wojtylak
a95c53413a [Admin][Adressing] fixed province code validation regex to support official austrian province codes 2019-10-05 12:12:10 +02:00
Grzegorz Sadowski
18011fd179 [Behat] Implement scenarios for deleting multiple resources 2017-10-30 10:44:38 +01:00
Grzegorz Sadowski
b206d148ba [Behat] Add scenarios for deleting multiple resources 2017-10-30 10:44:38 +01:00
Tobias Wojtylak
2cd7b2d96f Prevent adding a zone of type zone to itself 2017-07-12 11:51:55 +02:00
Mateusz Zalewski
31746519d0
[Admin][Zone] Adding zone with scope scenario 2016-12-06 15:53:53 +01:00
Grzegorz Sadowski
bbb1e55b81 [Behat][Addressing] Feature steps clean up 2016-11-27 18:31:38 +01:00
Grzegorz Sadowski
100c6e336b [Behat] Minor step name fixes 2016-09-15 14:19:05 +02:00
Jan Goralski
32a4aaf013 [Behat] Changed scenarios and contexts to depend on the United States channel 2016-08-24 13:38:14 +02:00
Arminek
46181b8039 [Behat] Notifcation context extraction 2016-04-28 11:51:37 +02:00
Łukasz Chruściel
eca1e4564b [Behat] [DX] Renaming country tag 2016-04-22 13:22:43 +02:00
Arminek
8bf3e3b269 Review fixes 2016-04-21 13:32:49 +02:00
Arminek
869c3f09d1 [Behat] Add scenario in deleting feature 2016-04-21 13:32:49 +02:00
Arminek
5f0da48137 Review fixes 2016-04-21 13:32:49 +02:00
Arminek
2c60a25654 [Behat] Add province setup context 2016-04-21 13:32:47 +02:00
Arminek
eba4b9c107 Review fixes 2016-04-21 13:32:46 +02:00