Lange ist's her, aber ich komme heute erst wieder dazu.
Also, ich habe jetzt in meinem DB-Schema das alte Feld "date" in "date_alt" umbenannt und ein neues Feld "date" vom Typen "long" (not null) definiert, die Eingabemaske um ein entsprechendes Feld erweitert (mode="date") und möchte jetzt die ganzen Daten nachpflegen.
Client Version: 4.2.219.38784
Java Version: 1.6.0_22 Sun Microsystems Inc.FSVersion=4.2.219.38784#1810;JDK=1.6.0_22 32bit Sun Microsystems Inc.;OS=Windows XP 5.1 x86;Date=01.12.2010 13:12:42
java.lang.IllegalStateException: Attribute news.date not synced!
at de.espirit.or.impl.EntityImpl.getOldValue(EntityImpl.java:882)
at de.espirit.or.impl.EntityImpl.setValue(EntityImpl.java:774)
at de.espirit.or.impl.EntityImpl.setValue(EntityImpl.java:704)
at de.espirit.or.impl.EntityImpl.setValue(EntityImpl.java:194)
at de.espirit.firstspirit.store.access.contentstore.ContentUtil.setValue(ContentUtil.java:296)
at de.espirit.firstspirit.store.access.contentstore.ContentUtil.storeData(ContentUtil.java:222)
at de.espirit.firstspirit.client.gui.tree.store.contentstore.AbstractGuiXmlPanel.save(AbstractGuiXmlPanel.java:440)
at de.espirit.firstspirit.client.gui.tree.store.contentstore.ContentGuiXmlPanel.persist(ContentGuiXmlPanel.java:338)
at de.espirit.firstspirit.client.gui.tree.store.contentstore.ContentGuiXmlPanel.save(ContentGuiXmlPanel.java:311)
at de.espirit.firstspirit.client.gui.tree.store.contentstore.ContentGuiXmlPanel$GuiXmlToolbar$2.actionPerformed(ContentGuiXmlPanel.java:484)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at de.espirit.firstspirit.common.gui.StoreHoverButton.fireActionPerformed(StoreHoverButton.java:96)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:130)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:115)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:108)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Das es ein "oldValue" nicht gibt ist verständlich, aber wie kann ich diesen Fehler umgehen?