View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - V9.2.0 Notification definition: undefined class name index - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

V9.2.0 Notification definition: undefined class name index

More
30 Jui 2021 11:37 #1 by yalovali
Hi,
Problem occurs when I want to define a notificatoion definition for an opportunity. It gives the error:
ERROR : An error occurred on 2021-06-30 at 12:31:10

On the log side, I got line:
2021-06-30 12:20:48.391 ***** ERROR ***** [V9.2.0] ERROR *****
2021-06-30 12:20:48.391 ***** ERROR ***** [V9.2.0] on file '/var/www/html/model/NotificationDefinition.php' at line (1314)
2021-06-30 12:20:48.391 ***** ERROR ***** [V9.2.0] cause = Undefined index: Opportunity_id

On php side, (with a line of mine to see the objClass Keys)
  1314         errorLog('Keys:'.implode(',',array_keys($objClass)));   <---- MY LINE TO SEE KEYS
  1315         $notif->notifiedObjectId = $objClass[$className.'_id'];^M

It seems like an upper/lower case problem. But I am reluctant to touch more php code, i am not that qualified with php... :)

2021-06-30 12:31:10.421 ***** ERROR ***** [V9.2.0] Keys:opportunity_id,opportunity_initialenddate,opportunity_iduser
2021-06-30 12:31:10.421 ***** ERROR ***** [V9.2.0] ERROR *****
2021-06-30 12:31:10.421 ***** ERROR ***** [V9.2.0] on file '/var/www/html/model/NotificationDefinition.php' at line (1315)
2021-06-30 12:31:10.421 ***** ERROR ***** [V9.2.0] cause = Undefined index: Opportunity_id

 

Please Connexion or Create an account to join the conversation.

More
02 Juil 2021 11:24 #2 by babynus
Hi,

I cannot reproduce.
Are you using MySql or Postgres ?
Could you post screenshot of the notification definition you try and insert ?

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
02 Juil 2021 13:49 #3 by yalovali
Hello,
My database is postgresql.

About the ticket i have opened, while trying to repeat it for you i figured out that, it repeats only if RULE is empty. 
So I think it is my misuage of the screen.

Any way, the related logs when rule field is empty, are as follows:
2021-07-02 14:34:51.942 ***** ERROR ***** [V9.2.0] ERROR *****
2021-07-02 14:34:51.942 ***** ERROR ***** [V9.2.0] on file '/var/www/html/model/NotificationDefinition.php' at line (1314)
2021-07-02 14:34:51.942 ***** ERROR ***** [V9.2.0] cause = Undefined index: Opportunity_id

ENTER SOMETHING AS RULE, and no log is created.



 
Attachments:

Please Connexion or Create an account to join the conversation.

More
08 Juil 2021 15:30 #4 by babynus
Hi,

Still cannot reproduce but I think I found a fix.
Will be deployed on V.9.2.2

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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