Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 649 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  2180   Fri Mar 30 06:38:28 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.
  2181   Fri Mar 30 16:05:20 2007 Reply Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Stefan Ritt wrote:

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.



Quote:

To answer your last question - yes, i logged out and the menu line never changed. I even put it into debug mode but the output reflects exactly what I see -- a non-changing menu line. I'll start with the simple config and see what happens.

BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.
  2182   Fri Mar 30 16:42:35 2007 Reply Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:

Stefan Ritt wrote:

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.



Quote:

To answer your last question - yes, i logged out and the menu line never changed. I even put it into debug mode but the output reflects exactly what I see -- a non-changing menu line. I'll start with the simple config and see what happens.

BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.



Quote:

Ok, here is what I found. Apparently in the past there was a "Find Menu Commands = " option? Because I had this in my config and elog was not barfing on it being there. So, I changed the word "Find" with "List" and things seems to now work. Stefan, was there an old command called "Find Menu Commands"?
  2186   Tue Apr 3 17:16:23 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:
BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.


That should be fixed now.


Steve Jones wrote:
Ok, here is what I found. Apparently in the past there was a "Find Menu Commands = " option? Because I had this in my config and elog was not barfing on it being there. So, I changed the word "Find" with "List" and things seems to now work. Stefan, was there an old command called "Find Menu Commands"?


Yes. Indeed this was changes some time ago. Have a look at elog:880. Unfortunately I did not announce this change clearly.
  2187   Tue Apr 3 17:55:21 2007 Smile Yoshio ImaiBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Stefan Ritt wrote:
Well, you didn't realize, but you were my beta-tester for the keyboard shortcuts Big grin . I didn't yet publish it, so you must have gotten this brand new feature from SVN.

You should really have told me Wink . Actually, I found out about the <Ctrl-C> issue while using this logbook.

Stefan Ritt wrote:
So get the SVN update, and let me know what you think

Did so, we are running now -1826. I think it is very usable, with maybe one exception (this might be a browser issue, however): When using the shortcuts and/or the ELCode buttons, sometimes the code is generated and the cursor in between the [XX] and [/XX] directive, but sometimes, the whole code directive is selected as if for editing

which prevents from immediately continuing to type (which, I guess, was the idea behind the shortcuts). The behaviour is not completely reproducible, and I have even seen it change during one and the same browser (=firefox) session while working on the same entry (*). I also had it once that the browser out of a sudden completely ignored the ELCode meaning, and instead used <Ctrl-I> for page info and <Ctrl-B> for the history.

(*) It just happened again!


BTW, there are (of course Big grin) two other issues. They are still present in -1826
- one bug was reported by a logbook user: when using the "find" function in a logbook, and selecting one value from the "Author" drop-down list and another from the "Category" drop-down list, the elogd reports no entries found, but when specifying only the "Author" and leaving "Category" blank, many entries are found, including those with the "Category" being looked for. When specifying only the "Category" and leaving the "Author" blank, the elogd also reports no entries found. Has anyone reported a similar behaviour?

- We have one logbook top group for the beamtimes. Under certain conditions, a preset text is to be displayed.
{2&a} Preset Text = resource/text_1.txt
{2&b} Preset Text = resource/text_2.txt
However, the definitions of these conditions have to be repeated for every logbook in the group (putting it only under [global beamtimes] doesn't do it), otherwise they are ignored.

Any idea on these?
  2188   Tue Apr 3 21:09:47 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
When using the shortcuts and/or the ELCode buttons, sometimes the code is generated and the cursor in between the [XX] and [/XX] directive, but sometimes, the whole code directive is selected as if for editing


I found at least that problem. If you select one or more words and press CTRL-B for example, your selection is surrounded by the [B]...[/B] tags. If you double click with your mouse on a word, usually the space between this word and the next word is selected as well. I modified the code such that if there is a blank at the end of a selection, it gets stipped off before placing the tags. This had the side-effect that if there was no selection at all, you got the reported mis-behaviour if there was a blank at your cursor position. I fixed that now in the updated elcode.js.

Your other problem of ignoring the control keys at all I could not reproduce. Try to reproduce it in a well-defined way and let me know.
  2189   Tue Apr 3 22:10:56 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
BTW, there are (of course Big grin) two other issues. They are still present in -1826
- one bug was reported by a logbook user: when using the "find" function in a logbook, and selecting one value from the "Author" drop-down list and another from the "Category" drop-down list, the elogd reports no entries found, but when specifying only the "Author" and leaving "Category" blank, many entries are found, including those with the "Category" being looked for. When specifying only the "Category" and leaving the "Author" blank, the elogd also reports no entries found. Has anyone reported a similar behaviour?


I tried to reproduce this, but without success. I made a very simple config file like:
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Quick filter = Type, Category

And produced some entries with various attribute values. But when selecting them from the quick filter, or selecting them from the find page, both gave correct results. Maybe you used a userlist attribute for the author?
  2192   Wed Apr 4 12:14:12 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
- We have one logbook top group for the beamtimes. Under certain conditions, a preset text is to be displayed.
{2&a} Preset Text = resource/text_1.txt
{2&b} Preset Text = resource/text_2.txt
However, the definitions of these conditions have to be repeated for every logbook in the group (putting it only under [global beamtimes] doesn't do it), otherwise they are ignored.

Any idea on these?


I tried to reproduce with this code:
[global]
port = 8080
password file = passwd
SMTP host = mail.psi.ch

{1}Preset text = Routine
{2}Preset text = Other

[demo]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

but it worked fine. Maybe some other problem?
ELOG V3.1.5-3fb85fa6