Some applications may have the need to have urls longer than 255 characters (although it's not a good idea).
If we configure an url field processed by xmlsitemap longer than 255 characters, on the form submit an SQL error is raised, breaking the submit flow.

Though long urls are not a good practice, could we rise the varchar column definition to something like varchar(1024)?
In any case I think the SQL error should be managed to at least not crash the admin.

Comments

Anonymous’s picture

Version: 7.x-2.0-beta3 » 7.x-2.x-dev
Category: bug » feature

Based on what I've researched WRT this feature request I'm going to suggest that it be a text field instead of varchar. I found reference that IE 8 has a max of 4096 and I found reference to FF with a max of 2 GB.