PHRAS-752 #time 4h

fix : tf-* (phraseanet) admin / field / source does not says "invalid"
add : better completion for field source : now can type things like "phr:tim" to match namespace(s) and tagname(s)
This commit is contained in:
Jean-Yves Gaulier
2015-10-13 17:23:52 +02:00
parent cb98ac8216
commit bb67a1a4bc
3 changed files with 64 additions and 39 deletions

View File

@@ -468,7 +468,7 @@ class databox_field implements cache_cacheableInterface
}
try {
return TagFactory::getFromRDFTagname($tagName);
return TagFactory::getFromTagname($tagName);
} catch (TagUnknown $exception) {
if ($throwException) {
throw new NotFoundHttpException(sprintf("Tag %s not found", $tagName), $exception);