Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#13 | 2876366_ui_changes.patch | 4.32 KB | riv16n824 |
Comments
Comment #2
Znak CreditAttribution: Znak commentedComment #3
psiska CreditAttribution: psiska at Gridonic commented@Znank I'm getting the same issue. Are we missing something in configuring this module in D8? /cc @itsekhmistro
A related issue might be this one: https://www.drupal.org/node/2846253
Comment #4
netw3rker CreditAttribution: netw3rker commentedI just ran into the same problem. It pretty much is an issue with the domain module. I had to hack domain to force it to work. I'd submit a patch to domain, but I'm pretty sure that they aren't going to want to add "creating duplicate hosts" to their roadmap.
@znak I'm not 100% positive that country path's are being handled correctly within the domain module. I suspect that this module is really supposed to implement it's own domain class that validates differently, and maybe inherits from the/a primary domain rather than requiring multiple standalone domain entries.
One particular problem/usecase is: it will be a total pain to manage this as configuration and switch between environments. lets say I have 50 countries. I'd have to reconfigure all 50 of them to use my staging environment's domain, vs if they just inherited from a primary, then there's just one to be concerned about.
Comment #5
axooh CreditAttribution: axooh at Gridonic commented@netw3rker: Thanks for your feedback on this. It would be great, if you can submit a patch for the Domain module, even though it probably wouldn't be accepted by the domain access maintainers. But for us, this would be a great help!
Comment #6
andriic CreditAttribution: andriic at Adyax commentedCheck this patch. It will allow you to add similar hostnames with different country paths.
Country path textfield disabled, you should specify it in Hostname field, e.g.: example.com/usa
Also, Country path values added to /admin/config/domain page.
Comment #7
axooh CreditAttribution: axooh commentedPatch works for me, thanks!
Comment #8
itsekhmistro CreditAttribution: itsekhmistro at Adyax commentedThank you. Reviewing the patch
Comment #9
Ivo.Radulovski CreditAttribution: Ivo.Radulovski as a volunteer and at trio-group I.AM commentedwe will also review the patch today
Comment #11
itsekhmistro CreditAttribution: itsekhmistro at Adyax commentedThe patch applied. Andrey, thank you for the great work! Thanks everyone involved for help.
The issue is fixed however I think we need to work to improve UI:
* Hide country_path field
* Display country_path suffix along with Hostname ( in the same input) in Edit domain form
* Display country_path suffix along with Hostname on Domains list dashboard.
Comment #12
itsekhmistro CreditAttribution: itsekhmistro at Adyax commentedComment #13
riv16n824 CreditAttribution: riv16n824 at Adyax commentedHere is a patch with UI changes.
Comment #14
itsekhmistro CreditAttribution: itsekhmistro at Adyax commentedHi,
> https://www.drupal.org/node/2876366#comment-12143260
please move the last patch and details into a separate issue.