Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Automatically generated incrementing tags (#), posted by soren poulsen on Wed Oct 14 16:31:46 2009 
    icon2.gif   Re: Automatically generated incrementing tags (#), posted by soren poulsen on Wed Oct 14 16:46:57 2009 
       icon2.gif   Re: Automatically generated incrementing tags (#), posted by soren poulsen on Mon Oct 26 15:43:55 2009 
          icon2.gif   Re: Automatically generated incrementing tags (#), posted by soren poulsen on Sun Nov 8 23:29:35 2009 
          icon2.gif   Re: Automatically generated incrementing tags (#), posted by Stefan Ritt on Tue Nov 10 14:42:11 2009 
             icon2.gif   Re: Automatically generated incrementing tags (#), posted by soren poulsen on Tue Nov 10 21:36:21 2009 
Message ID: 66559     Entry time: Wed Oct 14 16:46:57 2009     In reply to: 66558     Reply to this: 66566
Icon: Reply  Author: soren poulsen  Author Email: soren.poulsen@cern.ch 
Category: Question  OS: Linux  ELOG Version: 2.7.7 
Subject: Re: Automatically generated incrementing tags (#) 

soren poulsen wrote:

Hi,

I am using the # character to generate automatically incrementing numbers for new messages.

My issue is that # is evaluated when you hit "New" but E-log is only aware of the new value being used when you hit "Submit".

So, two E-logs can have the same value substituted for # if two E-logs are being edited in parallel.

Maybe someone has a solution to this ?

Soren Poulsen

 

 

The solution is to use "Subst" instead of "Preset".

ELOG V3.1.5-fe60aaf