- π§π·Brazil carolpettirossi Campinas - SP
I'm still facing the issue of duplicated paths when I try to edit an existing page.
1. I've noticed duplicated aliases on URL Aliases page
2. Edited one of them adding -0
3. Edited the node of the alias that I added -0
4. Alias reverted to old valueI'm attaching a screencast of the steps above.
- π§π·Brazil carolpettirossi Campinas - SP
It looks like the issue is on DomainPathAliasManager::getPathByAlias().
In PathautoGenerator::createEntityAlias, this is called:
$this->aliasUniquifier->uniquify($alias, $source, $langcode);
Then on AliasUniquifier::uniquify,
$this->aliasManager->getPathByAlias($alias, $langcode)
which calls
DomainPathAliasManager::getPathByAlias()I'm not sure how to fix this. Any suggestion from maintainer would be appreciated
- π§π·Brazil carolpettirossi Campinas - SP
I'm pretty sure this is NOT the proper solution but I have applied this patch/hack on the pathauto module.
- π§πͺBelgium gorkagr
Hi!
Not sure if it is the same issue or not, as i did not see anything related with the "Send all affiliates" field.
I have opened smth similar with a patch provided there ( https://www.drupal.org/project/domain_path/issues/3452676#comment-15628074 π Assuming 'field_domain_all_affiliates' exists create duplicate aliases Needs review ) - πΊπ¦Ukraine gilmord πΊπ¦Ukraine
@gorkagr looks like it is same issue and your changes fix it, tested it