View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Filter error with new attributes - ProjeQtOr
 
 

Filter error with new attributes

More
02 Feb 2015 15:06 - 02 Feb 2015 15:07 #1 by mdelgado
Hi

I added a few new attributes to project table. All is ok, they appear in project list, and project details, also in their maintenance menu.

But when I try to filter with some of them, I got this message >>>>Fatal error: Class 'idPip' not found in C:\wamp\www\projeqtordev\tool\addFilterClause.php on line 120



Pls your help

regards

Manuel
Attachments:
Last edit: 02 Feb 2015 15:07 by mdelgado.

Please Log in or Create an account to join the conversation.

More
02 Feb 2015 19:25 #2 by babynus
Hi,
It seems you added a field named ididpip.
You should avoid fields name stating with id, as they are expected to be id of corresponding class. In most cases the case of 3rd character is also tested, butnthis is not systematic. You discovered one. Others may exist...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
02 Feb 2015 19:41 #3 by mdelgado
Hi

For this field "departamento, the name of the filed into project table is "idPip_departamento"

In their class, is id, name, and idle ( I copied it from other)

Maybe the "_" is the problem?
regards

manuel

Please Log in or Create an account to join the conversation.

More
02 Feb 2015 20:48 #4 by babynus
Yes, you should avoid _ class names.
And as idXxxx will work with class Xxxx, also avoid _ in such fields names.
PHP class name should respect PascalCase or camelCase.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: mdelgado

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.048 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.