https://bugzilla.wikimedia.org/show_bug.cgi?id=45188

--- Comment #5 from Hans Meiser <[email protected]> ---
For your convenience

minor:
<code>
<b>Deprecated</b>:  Use of User::editToken was deprecated in MediaWiki 1.19.
[Called from SFFormEdit::printForm in
Q:\flampp\htdocs\schnatzikutzki\extensions\SemanticForms\specials\SF_FormEdit.php
at line 323] in <b>Q:\flampp\htdocs\schnatzikutzki\includes\debug\Debug.php</b>
on line <b>282</b>
</code>

major from the MW-GUI while saving the edit form:

INSERT INTO `smw_di_blob` (s_id,p_id,o_blob,o_hash) VALUES
('145','144',NULL,'Hans'),('145','150','156'),('145','152',NULL,'Hans')
 from within function "SMW::writePropertyTableRowUpdates-insert-smw_di_blob".
Database returned error "1136: Column count doesn't match value count at row 2
(localhost)".

major from shell (triggered by SMW_refreshData.php):

A database query syntax error has occurred.
The last attempted database query was:
"INSERT  INTO `smw_di_blob` (s_id,p_id,o_id) VALUES
('51','150','151'),('51','152
from within function "SMW::writePropertyTableRowUpdates-insert-smw_di_blob".
Database returned error "1054: Unknown column 'o_id' in 'field list'
(localhost)"

I use the same code as the guys in Semantic Extra Special Properties in the
propper handler:

<code>

SMWDIProperty::registerProperty('___ABCED', '_str','ABC Document Edited
By',true);
        SMWDIProperty::registerPropertyAlias('___SDWED',
'ABC_Document_Edited_By');

[...]

        $user = $wgUser->getName();  
        $property = new SMWDIProperty('___SDWED');
        $dataItem = new SMWDIString($user);
        $data->addPropertyObjectValue($property, $dataItem);

</code>

For this reproduction I switched to MW 1.20.2 + SMW 1.8.2

By the way could you please release my other bug reports?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to