developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Closed 10 years ago

#1119 closed bug (fixed)

install jacl2db sans prefix de table

Reported by: foxmask Owned by:
Priority: normal Milestone: Jelix 1.2RC1
Component: modules Version: 1.2b1
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

dans le script php lib\jelix-modules\jacl2db\installupgrade_to_1.2b1pre.1422_namedgroup on a la ligne :

$cn->exec("ALTER TABLE jacl2_group ADD COLUMN code varchar(30) default NULL");

qui échoue si on utilise un prefix aux tables

il faudrait utiliser :

$cn->exec("ALTER TABLE ".$cn->prefixTable('jacl2_group')." ADD COLUMN code varchar(30) default NULL");

Change History (3)

comment:1 Changed 10 years ago by laurentj

  • Component changed from jelix-scripts to module:jacl2db
  • Milestone set to Jelix 1.2

comment:2 Changed 10 years ago by foxmask

  • review set to review?

http://bitbucket.org/foxmask/jelix-trunk/changeset/c538f9e4e739

si ca te convient pour ce ticket tu peux faire un hg pull.

comment:3 Changed 10 years ago by laurentj

  • Component changed from module:jacl2db to modules
  • Resolution set to fixed
  • review changed from review? to review+
  • Status changed from new to closed

intégré, http://bitbucket.org/jelix/jelix-trunk/changeset/c538f9e4e739, même si incomplet, puisqu'il y a le même genre de soucis dans tous les autres scripts d'install. http://bitbucket.org/jelix/jelix-trunk/changeset/f7808eedc5e6

PS: Les commentaires dans les commits, exclusivement en anglais please.

Note: See TracTickets for help on using tickets.