View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17927 | Bug reports | ComfortUpdate | public | 2022-03-04 08:10 | 2022-03-08 11:47 |
Reporter | DarioRoig | Assigned To | c_schmitz | ||
Priority | urgent | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.2.x | ||||
Summary | 17927: update from 5.2.13 to 5.3.2 in Postgresql | ||||
Description | Hi, I have had two problems to update. If you update from 5.2.13 to 5.3.2, it seems that everything is ok, but when you try to login, it shows error 500. application/helpers/update/updates/Update_481.php $this->db->createCommand()->addColumn( The other problem is when the update attempt to do this other change, ALTER TABLE lime_message ALTER COLUMN language DROP NOT NULL it fails because you need drop first constraint "lime_message_pk" column "language" in the database. After these changes you can access without any problem. Thanks a lot for this amazing product. Regards | ||||
Steps To Reproduce | Steps to reproduceupdate with comforupdate from 5.2.13 to 5.3.2 in Postgresql Expected resultAccess to the admin page without any problem Actual resultIt shows error 500 when you try t access to admin page. | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 5.3.2 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Postgresql 9.6.20 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.3 | ||||
Hi, I foud only the first error, and I solved au contraire: "boolean NOT NULL DEFAULT false" |
|
I found same erroneous definition in installer/create-database.php: which is correct field type? int or bool ? |
|
Hi, may be is better your solution (boolean NOT NULL DEFAULT false), because at the code which read the field is_frontend hopes a boolean var. I'm going to test these changes in a test enviroment. Regards |
|
@DenisChenu please check this. |
|
Ah wait, this is related to Patricia's fix. |
|
Yeah, this is related to Patricia's fix, we did not test with Postgress |
|
The second problem is update 482 by Denis, I think. |
|
Arg : need to reset PK during update … |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33326 |
|
Resolved or only first part resolved? |
|
Also should be tested. And reviewed? |
|
Seems PK reset broken ? |
|
Dunno. @DarioRoig Can you test with the latest master branch too, perhaps? |
|
Fixed in Release 5.3.4+220309 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-04 08:10 | DarioRoig | New Issue | |
2022-03-04 11:01 | zufolo441 | Note Added: 68535 | |
2022-03-04 11:01 | zufolo441 | Bug heat | 0 => 2 |
2022-03-04 11:06 | zufolo441 | Note Added: 68536 | |
2022-03-04 11:33 | DarioRoig | Issue Monitored: DarioRoig | |
2022-03-04 11:33 | DarioRoig | Bug heat | 2 => 4 |
2022-03-04 11:43 | DarioRoig | Note Added: 68537 | |
2022-03-04 11:43 | DarioRoig | Bug heat | 4 => 6 |
2022-03-07 08:01 | galads | Assigned To | => galads |
2022-03-07 08:01 | galads | Status | new => confirmed |
2022-03-07 08:01 | galads | Priority | none => urgent |
2022-03-07 08:01 | galads | Zoho Project Synchronization | => |Yes| |
2022-03-07 10:02 | ollehar | Note Added: 68546 | |
2022-03-07 10:02 | ollehar | Bug heat | 6 => 8 |
2022-03-07 10:03 | ollehar | Note Added: 68547 | |
2022-03-07 10:27 | galads | Note Added: 68549 | |
2022-03-07 10:27 | galads | Bug heat | 8 => 10 |
2022-03-07 10:28 | galads | Note Edited: 68549 | |
2022-03-07 10:29 | ollehar | Note Added: 68550 | |
2022-03-07 10:32 | DenisChenu | Note Added: 68551 | |
2022-03-07 10:32 | DenisChenu | Bug heat | 10 => 12 |
2022-03-07 10:46 | c_schmitz | Relationship added | related to 17917 |
2022-03-07 10:46 | c_schmitz | Status | confirmed => resolved |
2022-03-07 10:46 | c_schmitz | Resolution | open => fixed |
2022-03-07 10:51 | c_schmitz | Changeset attached | => LimeSurvey master bd5fd4f6 |
2022-03-07 10:51 | c_schmitz | Note Added: 68552 | |
2022-03-07 10:51 | c_schmitz | Bug heat | 12 => 14 |
2022-03-07 10:51 | c_schmitz | Assigned To | galads => c_schmitz |
2022-03-07 10:54 | ollehar | Note Added: 68553 | |
2022-03-07 10:59 | ollehar | Note Added: 68554 | |
2022-03-07 11:01 | ollehar | Note Edited: 68554 | |
2022-03-07 11:02 | DenisChenu | Note Added: 68556 | |
2022-03-07 11:13 | ollehar | Note Added: 68557 | |
2022-03-08 11:47 | LimeBot | Zoho Project Synchronization | Yes => |Yes| |
2022-03-08 11:47 | LimeBot | Note Added: 68580 | |
2022-03-08 11:47 | LimeBot | Status | resolved => closed |
2022-03-08 11:47 | LimeBot | Bug heat | 14 => 16 |