Task #13517

Consider root objects and empty slugs in the generate slugs task

Added by José Raddaoui Marín about 1 month ago.

Status:NewStart date:06/01/2021
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

The generate slugs task doesn't consider the root objects and it only generates slugs for missing slug rows (not missing slug value):

https://github.com/artefactual/atom/blob/qa/2.x/lib/task/propel/propelGenerateSlugsTask.class.php#L141
https://github.com/artefactual/atom/blob/qa/2.x/lib/task/propel/propelGenerateSlugsTask.class.php#L144

It's not a recurrent issue and it requires some manual intervention to produce it (like deleting all slugs manually from the table), but improving the task to address this cases shouldn't hurt and it could fix these edge cases.

Also available in: Atom PDF