Openbravo Issue Tracking System - Modules | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0040157 | Modules | Remittance | public | 2019-02-06 10:40 | 2019-02-18 13:36 | ||||||||
| Reporter | ngarcia | ||||||||||||
| Assigned To | AtulOpenbravo | ||||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | ||||||||
| Status | closed | Resolution | fixed | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Merge Request Status | |||||||||||||
| Regression date | 2019-07-24 | ||||||||||||
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/95dcfa93d706654e1fbddfc3966bec7280081ac1 [^] | ||||||||||||
| Regression level | |||||||||||||
| Review Assigned To | Sandrahuguet | ||||||||||||
| Support ticket | 7919 | ||||||||||||
| OBNetwork customer | OBPS | ||||||||||||
| Regression introduced in release | |||||||||||||
| Summary | 0040157: Cannot reactivate a remittance: deleted object would be re-saved by cascade (remove deleted object from associations) | ||||||||||||
| Description | Cannot reactivate a remittance: deleted object would be re-saved by cascade (remove deleted object from associations): [REM_Instruction#...] The problem is in the following piece of code of REM_RemittanceProcess class: // Remove instructions for (Instruction instr : remittance.getREMInstructionList()) { OBDal.getInstance().remove(instr); } remittance.setREMInstructionList(new ArrayList<Instruction>()); OBDal.getInstance().save(remittance); } OBDal.getInstance().getSession().refresh(remittance); remittance.setProcessNow(false); OBDal.getInstance().save(remittance); OBDal.getInstance().flush(); | ||||||||||||
| Steps To Reproduce | As group admin role: Create a Sales Invoice, select Remittance payment method, add a line to it and complete it Create a Remittance header: Remittance Type: Printable Remittance Expected Date >= Sales Invoice - Payment Plan - Expected Date Select Orders or Invoices Select previously created invoice Process it Try to reactivate it and check the following error is shown: deleted object would be re-saved by cascade (remove deleted object from associations): [REM_Instruction#...] | ||||||||||||
| Proposed Solution | |||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2019-02-06 10:40 | ngarcia | New Issue | |||||||||||
| 2019-02-06 10:40 | ngarcia | Assigned To | => Triage Finance | ||||||||||
| 2019-02-06 10:40 | ngarcia | Resolution time | => 1551222000 | ||||||||||
| 2019-02-06 10:40 | ngarcia | Support ticket | => 7919 | ||||||||||
| 2019-02-06 10:40 | ngarcia | OBNetwork customer | => OBPS | ||||||||||
| 2019-02-06 10:40 | ngarcia | Issue Monitored: networkb | |||||||||||
| 2019-02-06 10:42 | Sandrahuguet | Assigned To | Triage Finance => AtulOpenbravo | ||||||||||
| 2019-02-07 09:28 | AtulOpenbravo | Status | new => scheduled | ||||||||||
| 2019-02-11 11:23 | caristu | Relationship added | related to 0029947 | ||||||||||
| 2019-02-11 14:10 | AtulOpenbravo | Note Added: 0109667 | |||||||||||
| 2019-02-11 17:34 | hgbot | Checkin | |||||||||||
| 2019-02-11 17:34 | hgbot | Note Added: 0109679 | |||||||||||
| 2019-02-11 17:34 | hgbot | Status | scheduled => resolved | ||||||||||
| 2019-02-11 17:34 | hgbot | Resolution | open => fixed | ||||||||||
| 2019-02-11 17:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/e9fb2d8644efe729acb88e5c318fcd1bef7718dd [^] | ||||||||||
| 2019-02-12 11:14 | AtulOpenbravo | Note Added: 0109691 | |||||||||||
| 2019-02-12 11:15 | AtulOpenbravo | Note Edited: 0109691 | bug_revision_view_page.php?bugnote_id=0109691#r18306 | ||||||||||
| 2019-02-12 11:17 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||||||||||
| 2019-02-12 11:17 | Sandrahuguet | Note Added: 0109692 | |||||||||||
| 2019-02-12 11:17 | Sandrahuguet | Status | resolved => closed | ||||||||||
| 2019-02-12 12:21 | Sandrahuguet | Regression date | => 2019-07-24 | ||||||||||
| 2019-02-12 12:21 | Sandrahuguet | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/95dcfa93d706654e1fbddfc3966bec7280081ac1 [^] | ||||||||||
| 2019-02-18 13:36 | caristu | Note Added: 0109903 | |||||||||||
| 2019-02-18 13:37 | caristu | Note Edited: 0109903 | bug_revision_view_page.php?bugnote_id=0109903#r18344 | ||||||||||
| 2019-02-18 13:38 | caristu | Note Edited: 0109903 | bug_revision_view_page.php?bugnote_id=0109903#r18345 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||