Ticket #4450 (new defect)
trac-(pre|post)-commit-hook do not work with a schema enabled trac project
| Reported by: | robert_creager@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.6 |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | trac-post-commit-hook verify |
| Cc: |
Description
The contrib files track-pre-commit-hook and trac-post-commit-hook do not work with a single trac database which uses schemas to manage multiple trac projects.
The pre-commit hook is obviously flawed by using direct SQL and not setting a search path. It's less obvious to me how the post-commit hook fails, but I've not looked at the API it's using.
Note that the hooks work fine when no schema is specified for the Trac project.
Using Trac 10.3 with PostgreSQL 8.1.1 database.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


