Ticket #1064 (closed bug: fixed)

Opened 5 months ago

Last modified 4 months ago

Testapp does not create jlx_cache and jsessions tables

Reported by: bricet Owned by: laurentj
Priority: normal Milestone: Jelix 1.2 beta
Component: app:testapp Version: trunk
Severity: normal Keywords: jlx_cache jsession testapp
Cc: Php version:
Review: review+ Hosting Provider:
Blocked By: Documentation needed: no
Blocking:

Description

Using mysql (not tested with pgsql) and following all instructions of INSTALL.txt, running all PHP test of testapp leads to 12 exceptions and 2 fails because jlx_cache and jsession tables do not exist.

Attachments

ticket_1064.diff (1.6 kB) - added by bricet 5 months ago.

Change History

Changed 5 months ago by bricet

  • summary changed from Testapp does not create jlx_cache and jsession tables to Testapp does not create jlx_cache and jsessions tables

Typo mistake : I was talking about jsessions (with a trailing "s")

Changed 5 months ago by bricet

Changed 5 months ago by bricet

  • review set to review?

Call of sql files form "jelix" module to create those 2 tables if they do not exist. Dirty relative path, but can't find a better way to access them from here ...

Changed 4 months ago by laurentj

  • milestone set to Jelix 1.2

Changed 4 months ago by laurentj

  • status changed from new to closed
  • review changed from review? to review+
  • resolution set to fixed

Ok for me. I improved the method execSQLScript to accept a module name, so we don't have to give "ugly" path :-). Improved also the support of $profile parameter.

http://bitbucket.org/jelix/jelix-trunk/changeset/25a6e0653d05/

Thanks for the patch.

Note: See TracTickets for help on using tickets.