Doing some testing with 2.01 and ran across the following behavior:
Created an item, added metadata, added a couple of files to it. Edited the files' metadata to test search results.
Search returned the expected results, but the link to the File (not the item) in the results throws an error. (ie; http://testurl/omeka2/files/show/2 ) Turning on logging gives the following:
2013-02-25T00:14:23+00:00 ERR (3): exception 'InvalidArgumentException' with message ''file_type_os' is an invalid special value.' in /var/omeka/omeka2/application/libraries/Omeka/Record/AbstractRecord.php:349
Stack trace:
#0 /var/omeka/omeka2/application/models/File.php(68): Omeka_Record_AbstractRecord->getProperty('file_type_os')
#1 /var/omeka/omeka2/application/views/helpers/Metadata.php(171): File->getProperty('file_type_os')
#2 /var/omeka/omeka2/application/views/helpers/Metadata.php(146): Omeka_View_Helper_Metadata->_getRecordMetadata(Object(File), 'File Type OS')
#3 /var/omeka/omeka2/application/views/helpers/Metadata.php(83): Omeka_View_Helper_Metadata->_getText(Object(File), 'File Type OS')
#4 [internal function]: Omeka_View_Helper_Metadata->metadata('file', 'File Type OS', Array)
#5 /var/omeka/omeka2/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#6 /var/omeka/omeka2/application/libraries/globals.php(1966): Zend_View_Abstract->__call('metadata', Array)
#7 /var/omeka/omeka2/application/libraries/globals.php(1966): Omeka_View->metadata('file', 'File Type OS', Array)
#8 /var/omeka/omeka2/application/views/scripts/files/show.php(44): metadata('file', 'File Type OS')
#9 /var/omeka/omeka2/application/libraries/Omeka/View.php(117): include('/var/omeka/omek...')
#10 /var/omeka/omeka2/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/omeka/omek...')
#11 /var/omeka/omeka2/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('files/show.php')
#12 /var/omeka/omeka2/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('files/show.php', NULL)
#13 /var/omeka/omeka2/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /var/omeka/omeka2/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /var/omeka/omeka2/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /var/omeka/omeka2/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#17 /var/omeka/omeka2/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /var/omeka/omeka2/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#19 /var/omeka/omeka2/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#20 /var/omeka/omeka2/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#21 /var/omeka/omeka2/index.php(23): Omeka_Application->run()
#22 {main}