Index: WAeUP_SRP/base/skins/waeup_utilities/fillApplicationCategory.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_utilities/fillApplicationCategory.py	(revision 3436)
+++ WAeUP_SRP/base/skins/waeup_utilities/fillApplicationCategory.py	(revision 3438)
@@ -1,3 +1,3 @@
-## Script (Python) "ti_507_resolve"
+## Script (Python) "fillApplicationCategory"
 ##bind container=container
 ##bind context=context
@@ -36,4 +36,5 @@
 logger.info('start')
 count = 0
+not_count = 0
 found = 0
 commit_after = 1000
@@ -41,7 +42,7 @@
 certificates = context.portal_catalog.search({'meta_type': "Certificate"})
 logger.info("found %d certificates" % len(certificates))
-cat = {'cos': 'BASIC',
-       'cos_cest': 'CEST',
-       'cos_sandwich': 'SANDWICH',
+cat = {'cos': 'basic',
+       'cos_cest': 'cest',
+       'cos_sandwich': 'sandwich',
        }
 to_change = {}
@@ -59,7 +60,10 @@
         logger.info("%s in %s" % (cert.id,','.join(found)))
         count += 1
+    else:
+        not_count += 1
+        logger.info("%s not in vocabularies" % (cert.id,))
 for cert,d in to_change.items():
     d['cert_doc'].edit(mapping = d)
-    logger.info("set application_category of %s to %s" % 
+    logger.info("set application_category of %s to %s" %
                (cert,d['application_category']))
-logger.info("found %d not in vocabularies" % count)
+logger.info("%d cert codes found, %d not found in vocabularies" % (count,not_count))
