- Issue created by @will kirchheimer
- π¨πSwitzerland berdir Switzerland
You reported this specifically on 8.x-1.9, which was just released today? Is this a regression, did it work before? I'm pretty certain we have sites with node/XYZ redirects for non-existing ids and that worked fine in the past.
- πΊπΈUnited States will kirchheimer New Orleans
I saw it in 1.7, and updated to 1.9 to test if it had been active before. It was still present in 1.9
- πΊπΈUnited States will kirchheimer New Orleans
Just a note, I know you were using XYZ as a random insert, but for clarification, the error only shows up with numbers values.
error: node/23456787654345
no error: 3456776545678
no error: node/d447yge
no error: node/234876234234XXX - π¨πSwitzerland berdir Switzerland
there is validation on the node/ID route that it must be a number, that makes sense.
are you using any patches for redirect? again, confused because I know of at least one site where we successfully did this.
- πΊπΈUnited States will kirchheimer New Orleans
@berdir - Sorry for the confusion, and thanks for the help.
I tried a few other sites I have access to, and am not receiving that error. Must be one of our custom modules, or a patch. If I track it down to something from the community I'll post the cause.
Thanks
- πΊπΈUnited States will kirchheimer New Orleans
Just noting that the issue went away after applying this patch:
https://www.drupal.org/project/redirect/issues/3057250 π Validation issue on adding url redirect Needs review
https://www.drupal.org/files/issues/2023-08-09/3057250-65.patch β