When session-storage datasource can't be reached while sessionCluster=true, the error msg is incorrect

Description

When a datasource connection fails for a datasource which is set as the session/client storage, and the application has "sessionCluster=true" defined, then the following incorrect error message is thrown by Lucee:

datasource [DSNName] is not enabled to be used as session/client storage, you have to enable it in the Lucee administrator or define key "storage=true" for datasources defined in the application event handler.

The mesage should instead be something along the line of "datasource [DSNName] could not be reached for session/client storage. Please make sure the datasource settings are correct, and the datasource is available."

Activity

Show:

Pothys - MitrahSoft 5 June 2018 at 08:11

Hi ,

I've changed the error message as per your suggestion. Anyway will confirm about this.

PullRequest : https://github.com/lucee/Lucee/pull/511

Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Priority

Created 4 June 2018 at 10:49
Updated 11 June 2018 at 17:20
Resolved 11 June 2018 at 17:19