Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 396 of 808  Not logged in ELOG logo
    icon2.gif   Re: Preloading Options or Moptions from a text file or CSV, posted by Andreas Luedeke on Mon May 11 22:42:44 2015 
> > > Title says all :)
> > > 
> > > Is it possible to preload Options or Moptions from a text file or CSV instead of being load from the elogd.conf ?
    icon2.gif   Re: Remote entries with empty messages possible?, posted by Andreas Luedeke on Mon May 11 22:51:44 2015 
Hi Edmund,

Stefan already supplied a fix, but you could as well use a workaround: provide an empty file as text. The following works for Linux:

elog -h elog-server-adress -l EO -a Fill=111 -m /dev/null
icon2.gif   "Leave Page" pop-up when "Submit" entry, posted by Andreas Luedeke on Tue May 12 03:25:45 2015 elogd.png
I have a little problem with elogd 3.1.0. The problem persists up to the latest ELOG version, even in the
development branch (V3.1.0-8196b81):
    icon2.gif   Re: "Leave Page" pop-up when "Submit" entry, posted by Stefan Ritt on Tue May 12 11:27:52 2015 
Thanks for the "boiling-down" of your config file. That helped me to reproduce the error quickly. It only occurs if you have a date/time attribute which
is hidden as a conditional attribute. This is a unusual combination, that's why I haven't seen that bug before. Actually some 
JavaScript code checks the validity of the date attribute, but since it is conditionally not there, the JavaScript code crashes, which triggers the dialog
    icon2.gif   Re: "Leave Page" pop-up when "Submit" entry, posted by Stefan Ritt on Wed May 13 06:58:12 2015 
> Apparently it was less work to fix than to isolate it ;-)

Well, I also spend like an hour on it.
    icon2.gif   Re: Attribute not updated, posted by Francois Cloutier on Wed May 13 15:19:55 2015 
I also tried with :
{1, 53} Preset #Parution = 1
{2, 54} Preset #Parution = 2
    icon2.gif   Re: Attribute not updated, posted by Andreas Luedeke on Thu May 14 02:02:45 2015 
Hi Francois,
as far as I know there is a limit on the number of conditions you can use (See elog:67303).
I guess you did hit that limit.
    icon2.gif   Re: csv import timestamp, posted by Andreas Luedeke on Thu May 14 02:19:53 2015 
Hi Ferdinand,

and that is exactly what happens when you import a csv file with a date field:

the creation date ($entry
time) of the imported entries will be used from the "Date" column in the file.

I've just tried it and it works like a charm.
Did you have any problems doing it?

Cheers

Andreas

ELOG V3.1.5-3fb85fa6