Anyone know how to prevent or reduce the number of times this error message appears along with the intended error message:

"Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method"

The intended error is generated with this Minilang code:

        <!-- make sure the quantity is greater than or equal to 0 -->
<if-compare field="parameters.quantity" operator="less" value="0.0" type="BigDecimal"> <string-to-list string="Negative issue quantities are not allowed" list="error_list"/>
        </if-compare>
        <check-errors/>

For some reason transaction error is generated three times when the error is detected. I've see transaction error on other forms but don't remember them showing up so many times.

Reply via email to