dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] RE : Trigger not executed when called a method by webserv


From: Florian Henry
Subject: [Dolibarr-dev] RE : Trigger not executed when called a method by webservice
Date: Sat, 26 Jan 2013 22:49:20 +0100


Si ta pas le commit c est que un des trigger  foire. Ta  regarder les log apache ? Donne moi accès je regarderais demain.



Florian Henry
06 03 76 48 07
www.open-concept.pro
Envoyer depuis un mobile

jfefe <address@hidden> a écrit :
Hi all,

I have a problem with the use of webservices in an external module: into
a method to create an object, triggers are called when it seems they are
not all executed.
When the method is executed through the ihm, everything goes well :\

Has anybody ever had this problem?

The code is on doliforge, I can give an access to sources if a good soul
feels to debug. This is a big day that I turn around:(


here the logs :

By webservice :

26/01/2013 18:18:46            2013-01-26 18:18:45 DEBUG 127.0.0.1     
BEGIN Transaction
26/01/2013 18:18:46            2013-01-26 18:18:45 DEBUG
127.0.0.1         Registration::create sql=INSERT INTO
llx_event_registration(entity,ref,fk_soc,fk_event,fk_eventday,fk_levelday,datec,date_valid,total_ht,total_tva,total_ttc,tva_tx,paye,accountancy_code,fk_user_create,fk_user_valid,fk_user_registered,fk_statut,note_private,note_public)
VALUES ( 1, NULL, '1', '1', '1', NULL, 20130126181845, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, 3, '', '4', 0, '', NULL)
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1         ExtraFields::fetch_name_optionals_label sql=SELECT
rowid,name,label,type,size,elementtype,fieldunique,fieldrequired FROM
llx_extrafields WHERE entity = 1 ORDER BY pos
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1          Registration::insertExtraFields delete sql=DELETE
FROM llx_event_registration_extrafields WHERE fk_object = 104
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1          Registration::insertExtraFields insert sql=INSERT
INTO llx_event_registration_extrafields
(fk_object,user_moto,user_chrono,user_circuit) VALUES
(104,null,'1\'43\"84','cir')
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_20_modPaypal_PaypalWorkflow.class.php' need module to be enabled
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_50_modLdap_Ldapsynchro.class.php' need module to be enabled
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_50_modNotification_Notification.class.php' need module to be
enabled
26/01/2013 18:18:46            2013-01-26 18:18:45 INFO  127.0.0.1     
Call Event webservices interfaces
  
-> there is not "commit transaction"


by IHM (it's ok) :

26/01/2013 18:17:11            2013-01-26 18:17:10 DEBUG
127.0.0.1         Registration::create sql=INSERT INTO
llx_event_registration(entity,ref,fk_soc,fk_event,fk_eventday,fk_levelday,datec,date_valid,total_ht,total_tva,total_ttc,tva_tx,paye,accountancy_code,fk_user_create,fk_user_valid,fk_user_registered,fk_statut,note_private,note_public)
VALUES ( 1, NULL, '1', '7', '20', '3', 20130126181710, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, 1, 0, '1', 0, NULL, NULL)
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1         ExtraFields::fetch_name_optionals_label sql=SELECT
rowid,name,label,type,size,elementtype,fieldunique,fieldrequired FROM
llx_extrafields WHERE entity = 1 ORDER BY pos
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1          Registration::insertExtraFields delete sql=DELETE
FROM llx_event_registration_extrafields WHERE fk_object = 103
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1          Registration::insertExtraFields insert sql=INSERT
INTO llx_event_registration_extrafields
(fk_object,user_moto,user_chrono,user_circuit) VALUES (103,null,null,null)
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_20_modPaypal_PaypalWorkflow.class.php' need module to be enabled
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_50_modLdap_Ldapsynchro.class.php' need module to be enabled
26/01/2013 18:17:11            2013-01-26 18:17:10 INFO
127.0.0.1         Interfaces::run_triggers
action="" Triggers for file
'interface_50_modNotification_Notification.class.php' need module to be
enabled
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_10_modEvent_EventEmail.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_20_all_Logevents.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_20_modWorkflow_WorkflowManager.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_30_modEvent_EventWorkflow.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_30_modFacture_EventBill.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_50_modAgenda_ActionsAuto.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 INFO
127.0.0.1         Interfaces::run_triggers
action="" Launch triggers for file
'interface_50_modGoogle_GoogleCalendarSynchro.class.php'
26/01/2013 18:17:11            2013-01-26 18:17:11 DEBUG 127.0.0.1     
COMMIT Transaction


thanks



_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

reply via email to

[Prev in Thread] Current Thread [Next in Thread]