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

--- Comment #2 from Kazimierz <[email protected]> 2011-08-17 09:10:51 UTC ---
I found out where the problem is. The function loadContent()
(includes/storage/SMW_QueryResult.php) has this comment near the 'index'
processing code:

// Print one component of a multi-valued string.
// Known limitation: the printrequest still is of type _rec, so if printers
check
// for this then they will not recognize that it returns some more concrete
type.

It seems that the further processing does not recognize that this is a single
value of a record, and tries to process it as a full record (which it isn't any
more, because the single value has been extracted by the loadContent()
function). This results in no value at all.

I attached a quick patch to work this problem around. Please note however, that
this patch is only a workaround, NOT A SOLUTION. I suppose it may be utterly
wrong when considered from the SMW architecture's point of view (I don't know
SMW's code so much to provide a complete solution). And it simply may introduce
other bugs, that I did not tested. It works as a quick and dirty fix - just to
restore the normal functionality of my wiki, until the official fix is
provided.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to