gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

GIS.lab Web - web is crashing with long user name #429

Closed imincik closed 8 years ago

imincik commented 9 years ago

Web is crashing when long user name is taken from LDAP.

Sep 8 10:32:10 server postgres[31621]: [2-1] 2015-09-08 10:32:10 CEST ERROR: value too long for type character varying(30) Sep 8 10:32:10 server postgres[31621]: [2-2] 2015-09-08 10:32:10 CEST STATEMENT: UPDATE "viewer_gislabuser" SET "password" = '', "last_login" = '2015-09-08 08:30:44.116671+00:00', "is_superuse r" = true, "username" = 'gislab', "first_name" = 'Ivan', "last_name" = 'Mincik [GIS.lab ID: gislab_vagrant]', "email" = 'ivan.mincik@gmail.com', "is_staff" = true, "is_active" = true, "date_join ed" = '2015-09-08 08:30:44.116807+00:00' WHERE "viewer_gislabuser"."id" = 2

imincik commented 8 years ago

Moved to GIS.lab Web NG repository (https://github.com/gislab-npo/gislab-web/issues/21)