- Issue created by @Kristen Pol
- Assigned to Kristen Pol
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Looking at this one now.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
The same also happens when you have "track content" on and create an unpublished term... looking at the logs shows the 404.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
It feels like this is a core bug with
httpClient
but I don't know. Can't find anything in the core issue queue. - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
If you create an unpublished node and try to access it as an anonymous user, you get this log:
Path: /en/node/29. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: The 'view any unpublished content' permission is required. in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 115 of /var/www/html/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).
But, if you create an unpublished term and try to access it as an anonymous user, you get a "page not found" log with:
https://quantdrupal101.ddev.site/en/taxonomy/term/84
so they are being handled differently within Drupal core.
Note that I have content moderation enabled because I'm using the Umami install profile.
May be related to how "View any unpublished content" permission is handled.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Created new issue:
๐ Running seed on unpublished term does not unpublish in Quant Active
that is probably related to this but not totaly sure.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
I'm giving up on this for now and will ping the team for thoughts.
- Issue was unassigned.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Unassigning for now.
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Target dev version.
- Status changed to Closed: works as designed
10 months ago 11:21pm 30 January 2024 - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
I'm not sure we can do anything directly about this so we'll just work around it... closing as "works as designed" since this appears to be a core thing.