- πΊπΈUnited States hawkeye.twolf αα©α―αα Unalatogiyasdi, Tsalaguwetiyi (Cherokee country)
The field formatter option works great. Here's an updated patch to fix the PHP warning reported by @Greg Boggs in #31 β¨ Allow hiding display of country for domestic addresses Needs work .
- Status changed to RTBC
over 1 year ago 2:55pm 8 April 2023 - π΅π±Poland bronismateusz
I tested the patch with Drupal 10 and it works perfectly. Great work.
- Status changed to Needs work
over 1 year ago 3:40pm 18 July 2023 - π΅π±Poland bronismateusz
@Anybody Sorry to be so late in replying. I am using exactly the one in the #33 β¨ Allow hiding display of country for domestic addresses Needs work . Everything is still working properly.
- π©πͺGermany Anybody Porta Westfalica
Thanks @bronisMateusz for your feedback. Still the two failing tests need to be resolved, so let's keep this at NW.
It's a missing schema entry.
- Status changed to Needs review
over 1 year ago 8:18am 14 August 2023 - last update
over 1 year ago 32 pass - π©πͺGermany marcoliver Neuss, NRW, Germany
I've attached an updated patch that adds the missing formatter schema.
- last update
over 1 year ago 32 pass - π©πͺGermany marcoliver Neuss, NRW, Germany
Updated the updated patch to also fix two coding standards issues from the automated tests.
- Status changed to Needs work
about 1 year ago 3:52pm 6 November 2023 - π§πͺBelgium borisson_ Mechelen, π§πͺ
I think the schema is now complete, looks great, still needs tests though.
- Assigned to sickness29
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 2:16pm 8 November 2023 - last update
about 1 year ago 35 pass - First commit to issue fork.
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
11 months ago Not currently mergeable. - Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.0 & MySQL 5.7last update
11 months ago Not currently mergeable. - last update
11 months ago 41 pass, 1 fail - heddn Nicaragua
Tests were added in #42. I've rebased and moved the work into an MR since it wouldn't apply on 2.x HEAD.
- last update
10 months ago 41 pass, 1 fail - last update
10 months ago 46 pass - Status changed to Needs work
10 months ago 12:31pm 22 January 2024 - π©πͺGermany marcoliver Neuss, NRW, Germany
Hi! I updated the Issue Fork against the current state of 2.0.x again (Commit). I also removed a line in the new code that changed the output and caused some unit tests to fail (Commit).
What I'm unsure of though is: we've introduced some changes that cause warnings in phpcs and phpstan (see pipeline). How do we deal with those? Fix? Or just ignore them for now, as we'll remove the deprecated stuff in a later version anyway?
Oh, otherwise the functionality itself still looks good!
- πΊπΈUnited States dww
Since π Fix all code validate jobs running in GitLab CI Fixed , the code quality checks in the GitLab CI pipeline should be all green. We're not going to want to merge things that introduce warnings / errors in those jobs. The pipeline warnings here should be fixed before this is RTBC.
Thanks,
-Derek - last update
10 months ago 46 pass - last update
10 months ago 46 pass - Status changed to Needs review
10 months ago 2:28pm 7 February 2024 - π©πͺGermany marcoliver Neuss, NRW, Germany
Okay, I updated the issue fork against the latest 2.0.x-dev and made the following changes to address the pipeline issues:
- changed the format of the deprecation error message in AddressDefaultFormatter.php (pulled the version numbers from thin air, feel free to change them!)
phpstan-ignore
d the fallback\Drupal
call to assign the ConfigFactory if it is missing from params, as I don't see how this could be solved via DI
- Status changed to RTBC
9 months ago 5:21am 25 February 2024 - πΊπΈUnited States mlncn Minneapolis, MN, USA
Definitely needed and great work making this happen.
Looks like all concerns addressed and tests passing.
After this patch, the default behavior is the sameβ the country always shows in the address.
It adds, however, the crucial option, on a per-field on entity display settings basis, to "Skip country for domestic addresses":
And the address displays without the redundant country.
RTBC!