In a Tiki26 I have a tracker with a field specifications.
In a wiki page I use a first smarty template to display the results.
To send the wiki parsed content of the field with the right language, I use:
{FORMAT(name="specifications")}{display name="tracker_field_productssolutionSpecifications_fr"}{FORMAT}
In this first smarty template I setup a second wikiplugin List and use again FORMAT to pass the content of the $specifications variable.
{FORMAT(name="specificationsInner")}{display name="{/literal}{$row.specifications}{literal}"}{FORMAT}
In the display I can see the content of the field as expected but it is surrounded by a No value for ' .../... '
warning
expected mean that's the value I want to see, but I understand it has been passed into the $name of the FORMAT, instead of its content.
This comes from the file "lib/core/Search/Formatter/ValueFormatter.php"
// ugly exception for wikiplugin - TODO better? if ($format !== 'wikiplugin' && (! isset($this->valueSet[$name]) || is_null($this->valueSet[$name]))) { return tr("No value for '%0'", $name); }
May it is possible to improve this "ugly" exception to avoid this false error ?
Or... a better verbose to help solving ?
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |