On Thu, Jun 6, 2013 at 11:56 AM, Hamster <[email protected]> wrote:
Marius,
I have tried to "debug" this thing by editing the velocity code of the LiveTableResultsMacros.
Why LiveTableResultsMacros? Did you look over the code of the Attachments macro? It's a wiki macro so you should probably first understand how wiki macros are defined http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial . Then, if you read the live table macro documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro , especially the parameters section, you'll understand that Attachments macro uses a custom live table results page. Next you have to find the place where attachments are filtered by name in this custom results page and make sure it's case insensitive. Hope this helps, Marius
On that page, "upper(...)" and ".toUpperCase()" are being used at "random" places in the code.
I have tried to add "upp(...)" at several locations in the code, but no positive results (filtering of the LiveTable is still incorrect).
Can somebody please confirm if this bug is present in their XWiki too?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Attachments-Macro-not-showing-tp7585339p75... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users