Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon8.gif   Post appearing twice, posted by Dan Chitwood on Fri Sep 23 19:23:26 2005 
    icon2.gif   Re: Post appearing twice, posted by Stefan Ritt on Wed Oct 5 13:22:08 2005 
       icon2.gif   Re: Post appearing twice, posted by Alan Grant on Mon Jun 4 22:30:44 2007 
          icon2.gif   Re: Post appearing twice, posted by Stefan Ritt on Fri Jun 8 10:44:14 2007 
             icon2.gif   Re: Post appearing twice, posted by deletoille on Tue Jun 12 11:07:39 2007 
    icon2.gif   Re: Post appearing twice, posted by Stefan Ritt on Tue Jun 12 17:13:28 2007 
       icon5.gif   Re: Post appearing twice, posted by Bertram Metz on Thu Sep 27 15:18:10 2007 
          icon2.gif   Re: Post appearing twice, posted by Stefan Ritt on Fri Sep 28 17:52:37 2007 
Message ID: 2240     Entry time: Mon Jun 4 22:30:44 2007     In reply to: 1427     Reply to this: 2241
Icon: Reply  Author: Alan Grant  Author Email: netman311@mts.net 
Category: Bug report  OS: Linux | Windows  ELOG Version: 2.6.0-b4 
Subject: Re: Post appearing twice 

Stefan Ritt wrote:

Dan Chitwood wrote:
We are having trouble on our logbook with posts appearing twice. Both posts contain the same ID number, time, etc. This most often occurs when the e-log entry is being written for an extended period of time (ie. more than 30 minutes), but I don't know if that is the root cause of the problem. It may also be related to posts that are edited after an initial posting. Could this be due to an improper setting in our config file?


Besides the trivial case that people hit the submit button twice I can only imagine one possible cause: If you edit an existing entry, there is a button Resubmit as new entry at the bottom. If that button is checked, the old entry gets deleted and a new one gets submitted. If the delete of the old entry fails for some reason, you could maybe get two entries.

May I suggest following: Use a very simple config file (like the demo one from the distribution) and see if you can reproduce the problem. If not, add you config options one by one to the config file, and see at which option the problem starts. This way you might find the cause of it.

Your problem has not been reported by anybody else so far, so chances are high that it's related to a config setting.


I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5. I eventually deduced it down to the Required Attributes line in the cfg file. I removed almost all other lines and then started removing each required attribute until the field was identified. For some reason it didn't like field name called "Date/Time Reproted" and when I removed it, it added fine, although that one field had to be unrequired when it really should have been req'd. I didn't see anything in the cfg instuctions regarding the use of "/" (unless I missed it) but I assumed it has something to do with that "/". It's interesting to note however that fields by same name under other tabs work fine. It may be bug related.
ELOG V3.1.5-3fb85fa6