View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Actions with DueDate : infinite spinner.... - ProjeQtOr
 
 

[SOLVED] Actions with DueDate : infinite spinner....

More
09 Sep 2022 18:32 #1 by matthieu.froment
Hello, It seems that I have bad vibes....
If I create some actions, all is fine (I can add the risk, who is responsible,...) but when I try to set a due date and save the action, I have the "infinite spinner" and if I try to change the screen, I can see a pop-up "request in progress, please wait". The only solution is to close my browser. Of course the action is not updated, I have the same issue with an admin account and no entry in the log file (configured in Debug mode) except this :

2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] Exception-[HY000] SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] For query : update action set initialDueDate='2022-09-30' , actualDueDate='2022-09-30' where id=4
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] Strack trace :
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] #0 Sql->query called at [/var/www/projeqtor/model/persistence/SqlElement.php:1849]
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] #1 SqlElement->updateSqlElement called at [/var/www/projeqtor/model/persistence/SqlElement.php:1303]
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] #2 SqlElement->saveSqlElement called at [/var/www/projeqtor/model/persistence/SqlElement.php:848]
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] #3 SqlElement->save called at [/var/www/projeqtor/model/ActionMain.php:208]
2022-09-09 18:29:43.077 ***** ERROR ***** [V10.0.5] #4 ActionMain->save called at [/var/www/projeqtor/tool/saveObject.php:122]

Any  good idea to identify the problem ?
Thanks.

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

More
10 Sep 2022 13:44 #2 by babynus
It is a "Lock wait timeout".
It means the program waited for a lock to be freed, but it was not before a defined time (tmeout)
This means either someoune was doing a very long transaction on the DB when you updated the data
or you have some persistant lock in the db.
Restart the DB will fix the latest case.

Babynus
Administrator of ProjeQtOr web site

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

More
13 Sep 2022 09:34 #3 by matthieu.froment
DB restarted and the issue is still present.
I try to add on actions an initial date or due date but when I save, the app is blocked. I have the issue if I create an action from scratch with a date or if I update an action and add a date. No extra log...
Otherwise, I can change the status of the action, modify the other fields without worries

Here is a DESC for the action table. Maybe it can help !

MariaDB [projeqtor]> DESC action;
+-------------------+------------------+------+-----+---------+----------------+
| Field             | Type             | Null | Key | Default | Extra          |
+-------------------+------------------+------+-----+---------+----------------+
| id                | int(12) unsigned | NO   | PRI | NULL    | auto_increment |
| idProject         | int(12) unsigned | YES  | MUL | NULL    |                |
| name              | varchar(100)     | YES  |     | NULL    |                |
| description       | mediumtext       | YES  |     | NULL    |                |
| creationDate      | date             | YES  |     | NULL    |                |
| idUser            | int(12) unsigned | YES  | MUL | NULL    |                |
| idStatus          | int(12) unsigned | YES  | MUL | NULL    |                |
| idResource        | int(12) unsigned | YES  | MUL | NULL    |                |
| initialDueDate    | date             | YES  |     | NULL    |                |
| actualDueDate     | date             | YES  |     | NULL    |                |
| idleDate          | date             | YES  |     | NULL    |                |
| result            | mediumtext       | YES  |     | NULL    |                |
| comment           | varchar(4000)    | YES  |     | NULL    |                |
| idle              | int(1) unsigned  | YES  |     | 0       |                |
| done              | int(1) unsigned  | YES  |     | 0       |                |
| doneDate          | date             | YES  |     | NULL    |                |
| idActionType      | int(12) unsigned | YES  | MUL | NULL    |                |
| idPriority        | int(12) unsigned | YES  |     | NULL    |                |
| handled           | int(1) unsigned  | YES  |     | 0       |                |
| handledDate       | date             | YES  |     | NULL    |                |
| reference         | varchar(100)     | YES  |     | NULL    |                |
| externalReference | varchar(100)     | YES  |     | NULL    |                |
| idEfficiency      | int(12) unsigned | YES  |     | NULL    |                |
| cancelled         | int(1) unsigned  | YES  |     | 0       |                |
| isPrivate         | int(1) unsigned  | YES  |     | 0       |                |
| idContact         | int(12) unsigned | YES  |     | NULL    |                |
+-------------------+------------------+------+-----+---------+----------------+
26 rows in set (0.01 sec)

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

More
14 Sep 2022 19:43 #4 by matthieu.froment
I did some more digging and I think I found the problem !
I have found in the forum the following  thread . It talks about indicators. As written in the solution, if I close the indicator all is fine without errors....

I have re-created the indicator and the problem still occurs, but if I change the alert condition from 1 working hour to 1 working day, I do not have issues anymore, I can use the duedate on actions and having an indicator.
Still strange behavior.....
Regards.

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

More
15 Sep 2022 09:20 #5 by babynus
Can you show the definition of your indicator ?

Babynus
Administrator of ProjeQtOr web site

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

More
15 Sep 2022 09:59 #6 by matthieu.froment
Attachments:

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

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