Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 309 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  2217   Wed Apr 25 20:29:39 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows6.4-1802Re: sort attributs

deletoille wrote:
thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea?


Two ideas. First, you have following URL:
.../page?rsort=Date+Evenement

but your attribute is "Evenement" (without "Date"). Can you check that?

Second: In threaded mode, only the "thread heads" are sorted. If an entry has one or more replies, it does not make sense to tear apart these replies because of sorting, so threads are always kept together, independent of their attributes.
Attachment 1: threaded.gif
threaded.gif
Attachment 2: summary.gif
summary.gif
  2240   Mon Jun 4 22:30:44 2007 Reply Alan Grantnetman311@mts.netBug reportLinux | Windows2.6.0-b4Re: 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.
  2241   Fri Jun 8 10:44:14 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Windows2.6.0-b4Re: Post appearing twice

Alan Grant wrote:
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.


Can you try to reproduce your problem with a minimal configuration file and send it to me?
  2242   Tue Jun 12 11:07:39 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frBug reportLinux | Windows2.6.5Re: Post appearing twice

Stefan Ritt wrote:

Alan Grant wrote:
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.


Can you try to reproduce your problem with a minimal configuration file and send it to me?


I had the same problem but by adding the "Use lock = 0" option to the configuration, confirmation disappear
  2243   Tue Jun 12 17:13:28 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Windows2.6.0-b4Re: Post appearing twice
I finally found and fixed the problem with the help of Alan Grant. It happens when three things are used together:

  1. Locking (via use lock = 1)
  2. Attributes containing '/' characters
  3. Required attributes are used with attributes containing '/'

The '/' in the attribute crashes actually the JavaScript code for checking the required attributes and thus you have two submissions.

The bug is fixed in SVN revision 1866 and will be contained in the next release.
  2318   Thu Sep 27 15:18:10 2007 Question Bertram MetzBertram.Metz@gefanuc.comQuestionLinux | Windows2.6.5-1844Re: Post appearing twice
I've observed the same behavior with attributes containing a dash. Would it be possible to allow '-' in attributes?

Bertram
  2319   Fri Sep 28 17:52:37 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows2.6.5-1844Re: Post appearing twice

Bertram Metz wrote:
I've observed the same behavior with attributes containing a dash. Would it be possible to allow '-' in attributes?


Yes. Fixed in Revision 1930.
  65712   Sat Jan 26 08:59:35 2008 Entry stephanestephane.brisson@synchrotron-soleil.frRequestLinux | Windows2.7.1.2007Several attachement at the same time

Hello,

I would like to make several attachement at the same time. I would be great cause I have lot of attachements to do every day. I try wiht CTRL or SHIFT key but I failed in.

Is it possible at this moment ?

Kind regards

Stéphane

ELOG V3.1.5-3fb85fa6