Skip to content

Triggers are not being correctly created from the DB install wizard #191

@jaragunde

Description

@jaragunde

[Trac import]
Reported by: jaragunde
Original date: Tuesday, 05 February 2013 21:23

The file triggers.sql is not being correctly processed, and triggers are not being created when the user installs !PhpReport using this wizard.

My guess is that the function parse_psql_dump at install/setup-config.php is not smart enough, and it tries to run the command every time it finds a ; character. The body of the trigger function contains that character, so the incomplete query is run and of course it doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions