Hai all user module CAS , I have something issues in here about to enabled modules CAS, after the first I enabled the modules cas is show like this :

* user warning: Specified key was too long; max key length is 767 bytes query: CREATE TABLE cas_login_data ( cas_session_id varchar(256) NOT NULL default '', uid int unsigned NOT NULL, PRIMARY KEY (cas_session_id) ) /*!40100 DEFAULT CHARACTER SET utf8 */; in /var/www/html/content/sites/all/modules/cas/cas.install on line 24.
* user warning: Specified key was too long; max key length is 767 bytes query: CREATE TABLE cas_server_tickets ( service varchar(256) NOT NULL default '', ticket varchar(256) NOT NULL default '', uid int unsigned NOT NULL, timestamp int NOT NULL, PRIMARY KEY (ticket) ) /*!40100 DEFAULT CHARACTER SET utf8 */; in /var/www/html/content/sites/all/modules/cas/cas_server.install on line 26.

but after I refreshed is no warning message again, is it ok or nope???, because after I always enabled the module CAS, there is always show warning message like this , is it bug on cas module or nope? and how to solve this problem??

thanks for the advance help.

CommentFileSizeAuthor
#1 cas.install.patch1.75 KBmetzlerd

Comments

metzlerd’s picture

StatusFileSize
new1.75 KB

Yes this is a bug. It was fixed in HEAD but didn't appear in the 6.x-2.1 release. The following patch should correct the problem, or you can manually edit the .install file and change all the varchar(256) to varchar(255).

bfroehle’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.