emdlogistique / openconcerto

Automatically exported from code.google.com/p/openconcerto
0 stars 0 forks source link

Paiement facture : blocage du processus #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Paiements -> Factures Clients non payées
2. Sélection de la facture
3. Encaisser
4. par chèque - comptant
5. Ajouter
6. message d'erreur; la facture n'est pas enregistrée comme payée; 

Erreur pendant l'ajout

can't update undefined
org.openconcerto.utils.ExceptionHandler: Erreur pendant l'ajout
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:86)
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:90)
    at org.openconcerto.sql.view.EditPanel.actionPerformed(EditPanel.java:407)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6382)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6147)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4744)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4572)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    at java.awt.Container.dispatchEventImpl(Container.java:2127)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4572)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:663)
    at java.awt.EventQueue$2.run(EventQueue.java:661)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$3.run(EventQueue.java:677)
    at java.awt.EventQueue$3.run(EventQueue.java:675)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalArgumentException: can't update undefined
    at org.openconcerto.sql.model.SQLRowValues.updateJustThis(SQLRowValues.java:1242)
    at org.openconcerto.sql.model.SQLRowValues.commitJustThis(SQLRowValues.java:1280)
    at org.openconcerto.sql.model.SQLRowValuesCluster$Commit.execOn(SQLRowValuesCluster.java:1017)
    at org.openconcerto.sql.model.SQLRowValuesCluster$Node.store(SQLRowValuesCluster.java:926)
    at org.openconcerto.sql.model.SQLRowValuesCluster$2.handle(SQLRowValuesCluster.java:325)
    at org.openconcerto.sql.model.SQLRowValuesCluster$2.handle(SQLRowValuesCluster.java:1)
    at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:112)
    at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:55)
    at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:707)
    at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:93)
    at org.openconcerto.sql.model.SQLRowValuesCluster.store(SQLRowValuesCluster.java:295)
    at org.openconcerto.sql.model.SQLRowValuesCluster.store(SQLRowValuesCluster.java:248)
    at org.openconcerto.sql.model.SQLRowValues.commit(SQLRowValues.java:1272)
    at org.openconcerto.sql.model.SQLRowValues.update(SQLRowValues.java:1230)
    at org.openconcerto.sql.model.SQLRowValues.update(SQLRowValues.java:1225)
    at org.openconcerto.erp.core.finance.payment.component.EncaisserMontantSQLComponent.insert(EncaisserMontantSQLComponent.java:334)
    at org.openconcerto.sql.element.BaseSQLComponent.insert(BaseSQLComponent.java:547)
    at org.openconcerto.sql.view.EditPanel.ajouter(EditPanel.java:445)
    at org.openconcerto.sql.view.EditPanel.actionPerformed(EditPanel.java:405)
    ... 37 more

What is the expected output? What do you see instead?
Pas de message d'erreur et facture payée

What version of the product are you using? On what operating system?
openConcerto 1.3b2 - MAC OS

Please provide any additional information below.

Original issue reported on code.google.com by ac2ssoft...@gmail.com on 11 Jan 2013 at 6:08

GoogleCodeExporter commented 8 years ago
complément d'information :
OpenConcerto 1.3b2, MAC OS, Multiposte, BD Postgresql 8.4 sur serveur Ubuntu 
10.04

Original comment by ac2ssoft...@gmail.com on 11 Jan 2013 at 6:14

GoogleCodeExporter commented 8 years ago
Corrigé en 1.3b4

Original comment by guillaum...@gmail.com on 7 Sep 2013 at 2:40