Last modified: 2011-01-25 00:06:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22861 - Modification to renderArrayMapTemplateObj function
Modification to renderArrayMapTemplateObj function
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All Linux
: Normal normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-17 13:17 UTC by Eric Kominski
Modified: 2011-01-25 00:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
pathc to arraymaptemplate parser function (556 bytes, patch)
2010-03-17 13:17 UTC, Eric Kominski
Details
2nd attempt at a patch for solving #arraymaptemplate hash problem in SF (1.05 KB, patch)
2010-03-18 20:34 UTC, Yaron Koren
Details

Description Eric Kominski 2010-03-17 13:17:37 UTC
Created attachment 7213 [details]
pathc to arraymaptemplate parser function

On some systems the arraymaptemplate parser function does not function correctly.  This tracked to the function renderArrayMapTemplateObj where it appears that the return value of virtualBracketedImplode (a pointer to a PPNode_Hash_Array object) should be used to extract the "value" member of the PPNode_Hash_Array object.  I am including a patch that I have tested on my system (Mediawiki 1.15.2, PHP 5.2.10, MySQL 5.0.77, Semantic Mediawiki 1.5.0, Semantic Forms 1.9)
Comment 1 Yaron Koren 2010-03-18 20:34:37 UTC
Created attachment 7224 [details]
2nd attempt at a patch for solving #arraymaptemplate hash problem in SF
Comment 2 Yaron Koren 2010-03-18 20:35:47 UTC
Hi, thanks for the patch. This code doesn't work, though, for wikis (the majority of them) where hashing isn't being used. I created a new patch, based on your code, that I hope solves the problem - please let me know if it works for you.
Comment 3 Yaron Koren 2010-06-10 01:08:40 UTC
This patch is now in version 1.9.1 of SF - I think this problem is now fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links