Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   New entries are not visible from other logbooks based on the same logbook dir through Subdir, posted by JacekK on Fri Jan 14 00:07:01 2011 
    icon2.gif   Re: New entries are not visible from other logbooks based on the same logbook dir through Subdir, posted by Stefan Ritt on Thu Jan 20 08:52:43 2011 
Message ID: 66995     Entry time: Thu Jan 20 08:52:43 2011     In reply to: 66984
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: All  ELOG Version: 2.8.0 
Subject: Re: New entries are not visible from other logbooks based on the same logbook dir through Subdir 

JacekK wrote:

Hi,

I have two logbooks based on the same data directory through "Subdir" option and when I add new entry in one logbook, then that entry is not visible in other logbook.

I suppose it is a bug in el_submit function, where I think the new message should be added to message index of every logbook based on the same data directory as the one, where the message was physically created. 

There is a piece of code, which I think should do this automatically

/* if other logbook has same index, update pointers */

but it seems the other logbooks does not have the same index. 

I'm new to elog and the sources are also new to me, so my guess to the ground of the problem may be wrong.

Let me know is this bug possible to fix in near future.

 

Best regards,

Jacek

Well, having two logbooks in the same subdirectory was initially a planned feature but really never worked. I re-visited this issue and made it working in the current SVN version. So the next release will contain the fix. 

ELOG V3.1.5-fe60aaf