Bug #5338

Wrong message when create a rule from a checklist

Added by blerohellec over 4 years ago. Updated over 4 years ago.

Status:NewStart date:05/29/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Version 2.0.2

Create a checklist, then from the checklists list, generate a rule for this checklist (massive action).
Message displayed is 'Failed operation'
But the rule has correctly been created !

History

#1 Updated by blerohellec over 4 years ago

With version 2.1.0, I get php errors (extract hereafter) and the rule is not created.

  • PHP Notice(8): Undefined index: item
    Backtrace :
    ...ins/resources/inc/checklistconfig.class.php:216
    ...ins/resources/inc/checklistconfig.class.php:330 PluginResourcesChecklistconfig->addRulesFromChecklists()
    inc/massiveaction.class.php:987 PluginResourcesChecklistconfig::processMassiveActionsForOneItemtype()
    inc/massiveaction.class.php:966 MassiveAction->processForSeveralItemtypes()
    front/massiveaction.php:58 MassiveAction->process()
  • PHP Warning(2): Invalid argument supplied for foreach()
    Backtrace :
    ...ins/resources/inc/checklistconfig.class.php:216
    ...ins/resources/inc/checklistconfig.class.php:330 PluginResourcesChecklistconfig->addRulesFromChecklists()
    inc/massiveaction.class.php:987 PluginResourcesChecklistconfig::processMassiveActionsForOneItemtype()
    inc/massiveaction.class.php:966 MassiveAction->processForSeveralItemtypes()
    front/massiveaction.php:58 MassiveAction->process()

Also available in: Atom PDF