When no alias content object for the current language exists, the "Edit alias" menu entry redirects to something like admin/cms/placeholder/object/5/edit/3/None.
Code inspection shows that the context menu uses the get_absolute_url method of the Alias object.
Bug: Edit alias context menu of alias plugin
When no alias content object for the current language exists, the "Edit alias" menu entry redirects to something like
admin/cms/placeholder/object/5/edit/3/None
.Code inspection shows that the context menu uses the
get_absolute_url
method of theAlias
object.Way forward
According to the Django docs,
get_absolute_url
should calculate the canonical URL of an object. I argue that aliases should not have a canonical URL, sinceI propose to
Alias
andAliasContent
Thanks to @vasekch for pointing this out on slack.