(Retrofit from trunk) N°653.2 Lifecycle: Fixed a regression introduced on r4767, transition buttons not working properly when editing an object.

SVN:2.4[4980]
This commit is contained in:
Guillaume Lajarige
2017-10-05 15:49:36 +00:00
parent 715eeff627
commit ce92241593
2 changed files with 10 additions and 2 deletions

View File

@@ -3764,7 +3764,15 @@ EOF
$oPage->add('</fieldset>');
}
}
/**
* @param $sCurrentState
* @param $sStimulus
* @param $bOnlyNewOnes
* @return array
* @throws ApplicationException
* @deprecated Since iTop 2.4, use DBObject::GetTransitionAttributes() instead.
*/
public function GetExpectedAttributes($sCurrentState, $sStimulus, $bOnlyNewOnes)
{
$aTransitions = $this->EnumTransitions();