Menu

#2282 iTop 3.2 crashes when assigning an incident in state escalated tto

3.2.1
closed
None
Fixed
Core/OQL
Medium
3.2.0
defect
2025-04-29
2024-10-07
eric24V
No

When I try to assign an incident with escalated tto to an agent I get the following error:

2024-10-07 15:26:03 | Error | 5 | Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Incident does not have a method "SetAssignedDate" in /var/www/html/instanz/core/dbobject.class.php:4593

I was able to fix this with the following extension:

    <class id="Incident" _delta="must_exist">
      <lifecycle _delta="must_exist">
    <states _delta="must_exist">
      <state id="escalated_tto" _delta="must_exist">
        <transitions _delta="must_exist">
          <transition id="ev_assign" _delta="must_exist">
        <actions _delta="must_exist">
          <action _delta="must_exist">>
            <verb _delta="redefine">SetCurrentDate</verb>
            <params _delta="define">
              <param xsi:type="attcode">assignment_date</param>
            </params>
          </action>
        </actions>
          </transition>
        </transitions>
      </state>
    </states>
      </lifecycle>
    </class>

iTop Version 3.2.0-2-14758 compiliert am 2024-09-13 10:44:26

Discussion

  • Vincent @ Combodo

    • status: new --> assigned
    • assigned_to: Vincent @ Combodo
    • Milestone: Unassigned --> Future release
    • Priority: Critical --> Medium
     
  • Vincent @ Combodo

    Thanks for reporting this. It will be fixed in the next version 3.2.1

     
  • Dirk Verdonck

    Dirk Verdonck - 2025-04-28

    was this issue fixed in 3.2.1?
    I can't find any reference to it in the iTop change log

     
  • Vincent @ Combodo

    • status: assigned --> closed
    • Milestone: Future release --> 3.2.1
    • Resolution: --> Fixed
     

Log in to post a comment.

MongoDB Logo MongoDB