Forum

Bug with table pref...
 
Notifications
Retirer tout

Bug with table prefix

2 Posts
2 Utilisateurs
0 Reactions
2,011 Vu
(@ppmichirones)
Posts: 7
Active Member
Début du sujet
 
[#5681]

ProjeQtOr version 7.3.3

When I install:

  1. At parameters configuration page, I set DbPrefix with "abCd_" string
  2. All configuration correct. The parameters.php file contains a "$paramDbPrefix='abCd_';" line
  3. I login with admin/admin default. Database population occurs.
  4. I regard in log file that database tables are created with "abcd_" prefix (pay attention to character case)
  5. When database population finish, the new parameters.php file contains "$paramDbPrefix='abCd_';" line
  6. Now, the login to ProjQtOr with admin/admin is posible, but stops at login page.

I have to manually change the new parameter.php in order to set "$paramDbPrefix='abcd_';" line and the first connection occurs.

I think this is a bug.


 
Posté : 13/01/2019 11:56 pm
(@babynus)
Posts: 14952
Membre Admin
 

You are right : parameter should be stored in lowercase.
Ticket #3776 recorded.

NB : this converstion to lowercase is important to ensure PostgreSql compatibility (who converts table names to lower case, whaterver to case on the script)
This has no impact on Windows but uppercased-prefix issue may occur on linux.


 
Posté : 16/01/2019 6:38 pm
Share:
Retour en haut