Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DataValue.php |
— | — | @@ -532,7 +532,7 @@ |
533 | 533 | * @deprecated Use parseDBkeys(). This function will vanish before SMW 1.6. |
534 | 534 | */ |
535 | 535 | protected function parseXSDValue($value, $unit) { |
536 | | - $this->parserDBkeys(array($value, $unit)); |
| 536 | + $this->parseDBkeys(array($value, $unit)); |
537 | 537 | } |
538 | 538 | |
539 | 539 | /** |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SemanticData.php |
— | — | @@ -85,6 +85,9 @@ |
86 | 86 | foreach ( $this->stubpropvals[$property->getDBkey()] as $dbkeys ) { |
87 | 87 | $dv = SMWDataValueFactory::newPropertyObjectValue($property); |
88 | 88 | $dv->setDBkeys($dbkeys); |
| 89 | + |
| 90 | + $dv->isValid(); |
| 91 | + |
89 | 92 | if ($this->m_noduplicates) { |
90 | 93 | $this->propvals[$property->getDBkey()][$dv->getHash()] = $dv; |
91 | 94 | } else { |