[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] PluginListExecute: report_status key is undefined or instantiated to...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <695e5bc8abcb5_2c6726d3835677@gitlab-sidekiq-low-urgency-cpu-bound-v2-7dd748c866-fzcdq.mail>

Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
1f5bb621 by Joel Mpunga at 2026-01-07T15:12:34+02:00
[FIX] PluginListExecute: report_status key is undefined or instantiated to null and this must be handled in some interfaces
---
* [FIX] PluginListExecute: report_status key is undefined or instantiated to null and this must be handled in some interfaces

See merge request tikiwiki/tiki!6171

- - - - -


2 changed files:

- templates/search/list/table.tpl
- templates/wiki-plugins/wikiplugin_listexecute.tpl


Changes:

=====================================
templates/search/list/table.tpl
=====================================
@@ -155,9 +155,9 @@
                 {if $actions}
                     <td>
                         <input type="checkbox" name="objects{$iListExecute}[]" class="checkbox_objects form-check-input" aria-label="{tr}Select{/tr}" value="{$row.object_type|escape}:{$row.object_id|escape}">
-                        {if $row.report_status eq 'success'}
+                        {if isset($entry.report_status) && $row.report_status eq 'success'}
                             {icon name='ok'}
-                        {elseif $row.report_status eq 'error'}
+                        {elseif isset($entry.report_status) && $row.report_status eq 'error'}
                             {icon name='error'}
                         {/if}
                     </td>


=====================================
templates/wiki-plugins/wikiplugin_listexecute.tpl
=====================================
@@ -11,9 +11,9 @@
         {foreach from=$results item=entry}
             <li class="list-group-item list-group-item-action">
                 <input type="checkbox" class="checkbox_objects form-check-input me-1" aria-label="{tr}Select{/tr}" id="{$entry.object_type|replace:" ":"-"|escape}_{$entry.object_id|escape}" name="objects{$iListExecute}[]" value="{$entry.object_type|escape}:{$entry.object_id|escape}">
-                {if $entry.report_status eq 'success'}
+                {if isset($entry.report_status) && $entry.report_status eq 'success'}
                     {icon name='ok'}
-                {elseif $entry.report_status eq 'error'}
+                {elseif isset($entry.report_status) && $entry.report_status eq 'error'}
                     {icon name='error'}
                 {/if}
                 <label class="form-check-label stretched-link" for="{$entry.object_type|replace:" ":"-"|escape}_{$entry.object_id|escape}">{object_link type=$entry.object_type id=$entry.object_id backuptitle=$entry.title|escape}</label>



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1f5bb621aa53554042e659199725c1e33098c2f2

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1f5bb621aa53554042e659199725c1e33098c2f2
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.