BF [ 1935093 ] SvrProcess.unlock() is setting invalid result

https://sourceforge.net/tracker/index.php?func=detail&aid=1935093&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2009-02-11 07:27:00 +00:00
parent eb62d4ab81
commit 33205ec45b
1 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ import org.compiere.util.Trx;
* <li>BF [ 1877935 ] SvrProcess.process should catch all throwables
* <li>FR [ 1877937 ] SvrProcess: added commitEx method
* <li>BF [ 1878743 ] SvrProcess.getAD_User_ID
* <li>BF [ 1935093 ] SvrProcess.unlock() is setting invalid result
*/
public abstract class SvrProcess implements ProcessCall
{
@ -493,7 +494,7 @@ public abstract class SvrProcess implements ProcessCall
return;
}
mpi.setIsProcessing(false);
mpi.setResult(m_pi.isError());
mpi.setResult(!m_pi.isError());
mpi.setErrorMsg(m_pi.getSummary());
mpi.save();
log.fine(mpi.toString());