Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 65 of 807  Not logged in ELOG logo
icon5.gif   opening a local html file, posted by Arno Teunisse on Sun Oct 21 22:35:19 2007 
Hello 

I've managed to create several logbooks that are an index of a (slow) shared 
directory. Now I use elog to search for files that are located on the slow 
shared directory and just have to click on the link in the elog logbook to open 
the file. Every day a simple batch file and 2 perl scripts will recreated the 
elog logbooks. So updates are done without any user input. ( mainly via the 
elog.exe program ) This all works great. 

To access the shared files in the above mentioned logbooks i use for one of the 
attributes : (All on one line) :

<A HREF='\\////HOST/dir 1/dir 2/dir 3/dir 4/dir 5/dir 6/dir 7/filename.doc' target='_blank'>filename.doc</a>

And this works great.

In the above the .doc may be replaced with .html, .xls or whatever WINDOWS 
supports. 

Here is my question : 

Now I want to open a  .html on my local drive. Should be possible but i seem to 
miss the correct format. With local drive I mean the drive that elog is running 
on. In my case this is C: 

I tried : 

file:///c:\dir 1\dir 2\file.html
file:///c:/dir 1/dir 2/file.html
<A HREF="file:///c:\dir 1\dir 2\file.html">file.html</a>
<A HREF="file:///c:/dir 1/dir 2/file.html">file.html</a>
<A HREF='file:///c:\dir 1\dir 2\file.html'>file.html</a>
<A HREF='file:///c:/dir 1/dir 2/file.html'>file.html</a>

and much more variants of the above. ( the first two examples do not respect the 
Spaces in directory names and file name, tried some quoting, but does not help)

In my browser ( IE7.0)  i see in the status bar : 

file:///c:/dir%201/dir%202/file.html

That seems to be OK. But nothing happens when i click the left click the link in 
the elog logbook. 

The above contains the correct directories and filenames. I know that the file 
is there because right clicking the link in elog and selecting "Save Target As" 
will save the file. However just left clicking the link to the file does not 
open the browser to display it. ( As i stated : this works on a shared drive, but not 
on a local drive.) 

Any suggestions ? 
    icon2.gif   Re: Quick Filter and boolean option question, posted by Arno Teunisse on Sun Oct 21 22:51:07 2007 
Thanks Stefan , i'll wait. Sorry.



Stefan Ritt wrote:

Arno Teunisse wrote:
Because I did not get an answer i think i must ask it in an other way


The reason you did not get an answer was not that you asked the wrong way, but simply that I'm pretty busy these days. So just be patient, I won't forget you. And sending several support requests certainly does not help you Wink
    icon2.gif   Re: extendable options, posted by Stefan Ritt on Mon Oct 22 16:33:50 2007 

Arno Teunisse wrote:
When I click the "Add Version" button Elog end's with a "Internal error, no
valid header!" after hitting the submit button. ( See attachments )


"Extendable Options" are currently only possible outside any condition. While
Options Version = 1,2,3

will work, the following will not
{1} Options Version = 1,2,3

I will add a note to the documentation about this.
    icon2.gif   Re: Quick Filter and boolean option question, posted by Stefan Ritt on Mon Oct 22 17:27:45 2007 

Arno Teunisse wrote:
When "Contract" is at the second position in the "Attributes".
We See in the "Quick Filter" a pulldown showing "Serial Number" with only "0" or "1" ,
this is NOT what i want or is expected !!!


Yes, this is indeed a bug. I fixed it in SVN revision 1940. There will be soon a new release containing this fix.
    icon2.gif   Re: opening a local html file, posted by Stefan Ritt on Mon Oct 22 17:38:32 2007 
Have a look at 

http://kb.mozillazine.org/Links_to_local_pages_don't_work
    icon2.gif   Re: extendable options, posted by Stefan Ritt on Mon Oct 22 21:22:28 2007 

Arno Teunisse wrote:

; attributes
Attributes = OS, Version, Klant , Category, Subject
Options OS = AIX{1}, HP-UX{2} , Redhat{3} , Suse{4}, Fedora{5}, SUN{6}
Options Category = Documentation, disk , network , software , backup , boot,
Options Klant = None, Cust1 , Cust2 , Cust3 , Cust4, Cust5
{1} options Version = 4.3, 5.1 , 5.2 ,5.3
{2} options Version = 10.20, 11.11, 11.23
{3} options Version = 4.0
{4} options Version = 10.0
{5} options Version = 5.0,6.0,7.0
{6} options Version = 5.6,5.7,5.8,5.9,5.10
extendable Options = Category, Klant, OS , Version


Actually me previous statement was incorrect. Extendable options work also under conditions. Your problem is that you specified
{1} options Version = 4.3, 5.1 , 5.2 ,5.3

instead
{1} Options Version = 4.3, 5.1 , 5.2 ,5.3

(note the capital O). If you change that, it will work. Anyhow I changed the code so that the case of these statements is ignored in the future.
icon13.gif   Quick Filter including Subtext applied overzealously?, posted by Richard Stamper on Mon Nov 12 15:58:57 2007 

When there are two or more Quick Filters available, and one of them is on the Subtext attribute, once one of the other filters has its value changed the null text for the Subtext selection criterion (namely, "-- Text  --") is used as a genuine selection criterion, thus typically preventing any entries from matching. 

This is for v2.7.0-1961 with both Mozilla 2.0.0.9 and IE 6 on Windows XP Professional SP2, and I think has appeared with this release.  You can demonstrate the behaviour on this forum: 

  • Go to http://midas.psi.ch/elogs/Forum/
  • Quick filter on dates in the "Last Month" and nothing is listed.  The URL is now http://midas.psi.ch/elogs/Forum/?last=31&Subtext=--+Text+--
  • Set the date filter back to "-- All Entries --" and the spurious subtext filter remains; the URL is now http://midas.psi.ch/elogs/Forum/?Subtext=--+Text+--
  • Delete the "-- Text --" value in the filter box and everything reappears; the URL is back to http://midas.psi.ch/elogs/Forum/

Richard Stamper

 

    icon2.gif   Re: Quick Filter including Subtext applied overzealously?, posted by Stefan Ritt on Tue Nov 13 11:04:58 2007 

Richard Stamper wrote:

When there are two or more Quick Filters available, and one of them is on the Subtext attribute, once one of the other filters has its value changed the null text for the Subtext selection criterion (namely, "-- Text  --") is used as a genuine selection criterion, thus typically preventing any entries from matching. 

This is for v2.7.0-1961 with both Mozilla 2.0.0.9 and IE 6 on Windows XP Professional SP2, and I think has appeared with this release.  You can demonstrate the behaviour on this forum: 

  • Go to http://midas.psi.ch/elogs/Forum/
  • Quick filter on dates in the "Last Month" and nothing is listed.  The URL is now http://midas.psi.ch/elogs/Forum/?last=31&Subtext=--+Text+--
  • Set the date filter back to "-- All Entries --" and the spurious subtext filter remains; the URL is now http://midas.psi.ch/elogs/Forum/?Subtext=--+Text+--
  • Delete the "-- Text --" value in the filter box and everything reappears; the URL is back to http://midas.psi.ch/elogs/Forum/

Thanks for reporting this. I fixed it in revision 1964. You can test it in this forum.

ELOG V3.1.5-3fb85fa6