Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Wrong error message if invalid attribute is used, posted by T. Ribbrock on Mon Jul 27 10:20:14 2009 
    icon2.gif   Re: Wrong error message if invalid attribute is used, posted by Stefan Ritt on Mon Jul 27 10:49:19 2009 
Message ID: 66464     Entry time: Mon Jul 27 10:20:14 2009     Reply to this: 66465
Icon: Entry  Author: T. Ribbrock  Author Email: emgaron+elog@ribbrock.org 
Category: Bug report  OS: Linux  ELOG Version: 2.7.6 
Subject: Wrong error message if invalid attribute is used 

I just ran into this little bug: I had defined a new logbook in my config file and suddenly got the message Attribute "Date" not allowed. While I did have several attributes starting with the word "Date" (e.g. "Date In Service", "Date Retired") I had no attribute "Date" in there. After some pondering and wildly commenting out lines, it finally dawned on me: I had used an attribute "ID" - which is also not allowed. However, it would be very helpful if the error message actually reflected that...

ELOG V3.1.5-fe60aaf