VirtualBox

Ignore:
Timestamp:
Jul 29, 2022 1:46:07 PM (2 years ago)
Author:
vboxsync
Message:

ValidatonKit: Trying to fix a runtime error caused by string-int comparison.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuitestresultfailure.py

    r93115 r95941  
    9393        """
    9494        aoActions = super(WuiTestResultFailure, self)._generateTopRowFormActions(oData);
    95         if oData and oData.idTestResult is not None and oData.idTestResult > 0:
     95        if oData and oData.idTestResult and int(oData.idTestResult) > 0:
    9696            aoActions.append(WuiTmLink('Associated Test Set', WuiMain.ksScriptName,
    9797                                       { WuiMain.ksParamAction: WuiMain.ksActionTestSetDetailsFromResult,
     
    9999                                       ));
    100100        return aoActions;
    101 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette