Last modified: 2007-05-29 07:09:26 UTC
Errors arising from [[imported from:=foaf:bad]] or incorrect namespace aren't reported.
I think the fix is just some typos in SMW_Factbox.php, this make the error handling like other code: --- . (revision 21705) +++ . (working copy) @@ -188,8 +188,8 @@ if (NULL != $error) { $datavalue = SMWDataValue::newTypedValue(new SMWErrorTypeHandler($error),$value); - if (!$smwgStoreActive) { - SMWFactbox::$semdata->addSpecialValue(SMW_SP_IMPORTED_FROM,$result); + if ($smwgStoreActive) { + SMWFactbox::$semdata->addSpecialValue(SMW_SP_IMPORTED_FROM, $datavalue); } return $datavalue; } I'm not sure about the check for smwgStoreActive but it works for me so I checked this in (SVN revision 22499).
Thanks. There were more of the same typos in earlier versions, but this one escaped my fixes. It should be correct now.