sakaiproject/nakamura — pull request #644 by ctweney (2012-03-08 22:05:33+00:00)
Title: Kern 2621 Can't tag myself with "Biological Sciences" top-level tag

If a subcategory tag (eg /tags/directory/foo/bar) was created before its parent, the parent (/tags/directory/foo) lacked the sakai:tag-name and sling:resourceType=sakai/tag fields. This made other expectations break and rendered the parent tag useless. This patch fixes SparseTagOperation so it will create parents as full-fledged sakai/tags if necessary. It also introduces the IncompleteTagFixer, which is run as part of the sparse upgrade servlet, and an integration test for the fixer.

This patch means we will most definitely need to run /system/sparseupgrade as part of the 1.2.0 upgrade procedure.