LemonLDAPNG / Apache-Session-Browseable

Apache::Session::Browseable Perl module
http://search.cpan.org/dist/Apache-Session-Browseable/
Other
3 stars 5 forks source link

Setting "Index" parameter in PgJSON causes requests to fail #34

Closed maxbes closed 2 years ago

maxbes commented 2 years ago

If a user accidentally sets the "Index" parameter when using PgJSON, session creation fails with (eg)

[error] Session cannot be tied: DBD::Pg::st execute failed: ERROR: column "_whattotrace" of relation "sessions" does not exist

The reason is that PgJSON declares its store to be Apache::Session::Browseable::Store::Postgres which uses the "Index" option

It should probably use Apache::Session::Store::Postgres instead, so that the "Index" option won't interfere

Low priority issue, this only causes problems in a configuration that is wrong to begin with

guimard commented 2 years ago

Wrong: backend just enables UTF8. No issue here, just a wrong config :wink: