View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error : There is no active transaction - ProjeQtOr
 
 

Error : There is no active transaction

More
17 Mar 2020 11:11 - 17 Mar 2020 11:20 #1 by antoine1003
Hi,
I am corrently doing an extension to improve the import feature. as my class is prety long I made a gist if you want to see my class : here . I go the following error when I try to import a file :
2020-03-17 10:58:42.046 ***** ERROR ***** [V8.3.2] on file 'C:\wamp64\www\ipmp_new\model\persistence\Sql.php' at line (197)
2020-03-17 10:58:42.049 ***** ERROR ***** [V8.3.2] cause = There is no active transaction
2020-03-17 10:58:42.053 ***** ERROR ***** [V8.3.2]    => #0 C:\wamp64\www\ipmp_new\model\persistence\Sql.php (197) -> commit()
2020-03-17 10:58:42.055 ***** ERROR ***** [V8.3.2]    => #1 C:\wamp64\www\ipmp_new\model\custom\Importable.php (429) -> commitTransaction()
2020-03-17 10:58:42.058 ***** ERROR ***** [V8.3.2]    => #2 C:\wamp64\www\ipmp_new\model\custom\Importable.php (686) -> buildTable()
2020-03-17 10:58:42.060 ***** ERROR ***** [V8.3.2]    => #3 C:\wamp64\www\ipmp_new\tool\import.php (139) -> import()

I already looked on this forum an saw an answer saying : "Ticket #816 recorded" which doesn't really help.
Do you have any idea?
Thanks,
Antoine
Last edit: 17 Mar 2020 11:20 by antoine1003.

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

More
17 Mar 2020 11:53 #2 by babynus
You execute Sql::commitTransaction() but did not have previous Sql::beginTransaction()

Babynus
Administrator of ProjeQtOr web site

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

More
17 Mar 2020 11:56 #3 by antoine1003
Thanks for your answer.
I do execute Sql::beginTransaction() line 211 before the loop through data as it seems to be done in the native file :S

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

More
17 Mar 2020 15:44 #4 by antoine1003
@babynus Do you have any idea? I am really stuck with this problem :(

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

More
18 Mar 2020 09:28 #5 by antoine1003
Can anyone help me?

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

More
19 Mar 2020 19:33 #6 by babynus
Difficult to investigate on some code we did not write and we just cannot read :(
Also, support for your own coding is out of our scope

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.039 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.