SID-02198: SpreadSheetPlugin LISTMAP missing
| Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
5.10.1 |
| Category: |
CategoryPlugins |
Server OS: |
RHEL 6.7 |
Last update: |
9 years ago |
We have a search that utilizes the LISTMAP option from the
SpreadSheetPlugin. I see that from version 5 to version 6, LISTMAP is now not a valid option.
I have searched and cannot find any info on how to replace the use of LISTMAP now that it is gone.
Can someone give somone guidance?
This is my code:
%CALC{"$LISTJOIN( , $LISTMAP(%$NOP()INCLUDE{\"HostAbstractor\" system=\"$item\" asset=\"$CHAR(37)FORMFIELD{\"PrimaryAsset\" topic=\"$item\"}$CHAR(37)\" raw=\"on\" }$NOP()%, $GET(
AllSystems)))"}%
I have a search that does populate the "AllSystems" properly.
--
Robert Webb - 2016-05-09
Discussion and Answer
$LISTMAP() has been renamed to
$LISTEACH(). The
$LISTMAP() function remains available as an undocumented function; compatibility is key, so it is
not scheduled for removal.
--
Peter Thoeny - 2016-05-10
Thanks Peter.
I looked and saw the disappearance of LISTMAP and could not find anything documenting that LISTEACH was its replacement and that LISTMAP was still usable.
Guess it is back to the debugging board.
Search worked in 4.1.2 but in 6.0.2 when running, it is throwing an error of trying to use the topmenubar repeatedly. Now thinking a maybe an update in the skins is causing an issue.
--
Robert Webb - 2016-05-10
I updated the
SpreadSheetPlugin to document the undocumented LISTMAP as a deprecated syntax.
--
Peter Thoeny - 2016-05-10
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.