Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Database error dele...
 
Notifications
Clear all

Database error deleting status.

3 Posts
2 Users
0 Reactions
1,517 Views
(@ppmichirones)
Posts: 7
Active Member
Topic starter
 
[#7621]

Hello, friends.
First of all, congratulations for your awesome product.

My environment:

  • Linux Form Scratch 9.1
  • Apache 2.4.4
  • PHP 7.4.13
  • PostgreSQL 13.1
  • ProjeQtOr 9.2.1

My problem:
When I pretend to delete a status, ProjeQtOr sends the following message:

SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block

and doesn't delete the status.

The PostgreSQL log says:

ERROR:  column notification.idstatus does not exist at character 48
STATEMENT:  select count(*) as cpt from notification where notification.idStatus= '25'

and , in fact, there isn't a column named idStatus in notification table. There is a idStatusNotification column.


 
Posted : 09 Jul 2021 11H42
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Just delete or comment line 486 in projeqtor/model/persistence/SqlElement.php

//          "Notification" => "controlStrict",

This fix will be included in V9.2.2


 
Posted : 09 Jul 2021 18H39
(@ppmichirones)
Posts: 7
Active Member
Topic starter
 

Done.
Works.
Thanks a lot.


 
Posted : 09 Jul 2021 21H26
Share:

Scroll to Top