ssmaoun / openconcerto

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

Impossible de modifier les caisses #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Tenter de modifier ou accéder au détail d'une caisse pour la paramétrer
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
OC 1.2 +postgresql

Please provide any additional information below.

Erreur d'initialisation

unknown field ID_ADRESSE in CAISSE_COTISATION. The table CAISSE_COTISATION 
contains the followins fields: [ID, NOM, ID_ADRESSE_COMMON, TEL, MAIL, 
TEL_PORTABLE, ARCHIVE, ORDRE]
org.openconcerto.utils.ExceptionHandler: Erreur d'initialisation
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:86)
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:90)
    at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:198)
    at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:130)
    at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:83)
    at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:65)
    at org.openconcerto.sql.view.IListPanel.getCreateFrame(IListPanel.java:550)
    at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:466)
    at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:52)
    at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:412)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6505)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:682)
    at java.awt.EventQueue$3.run(EventQueue.java:680)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:696)
    at java.awt.EventQueue$4.run(EventQueue.java:694)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Caused by: java.lang.IllegalArgumentException: unknown field ID_ADRESSE in 
CAISSE_COTISATION. The table CAISSE_COTISATION contains the followins fields: 
[ID, NOM, ID_ADRESSE_COMMON, TEL, MAIL, TEL_PORTABLE, ARCHIVE, ORDRE]
    at org.openconcerto.sql.model.SQLTable.getField(SQLTable.java:699)
    at org.openconcerto.sql.element.BaseSQLComponent.getField(BaseSQLComponent.java:150)
    at org.openconcerto.sql.element.BaseSQLComponent.getComp(BaseSQLComponent.java:194)
    at org.openconcerto.sql.element.BaseSQLComponent.addViewJComponent(BaseSQLComponent.java:176)
    at org.openconcerto.sql.element.BaseSQLComponent.addView(BaseSQLComponent.java:160)
    at org.openconcerto.erp.core.humanresources.payroll.element.CaisseCotisationSQLElement$1.addViews(CaisseCotisationSQLElement.java:116)
    at org.openconcerto.sql.element.SQLComponent.uiInit(SQLComponent.java:148)
    at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:192)
    ... 43 more

Original issue reported on code.google.com by tdeo.con...@gmail.com on 7 Oct 2012 at 6:10

GoogleCodeExporter commented 8 years ago
Corrigé en 1.3 b1

Original comment by guillaum...@gmail.com on 29 Oct 2012 at 10:49