Details
Description
In both 1.9 and HEAD, the resource module's "reference" property is type VARCHAR(255). This is suitable for referencing local file paths, but some legitimate URLs can be well above 255 chars. I suggest the 'reference' field be increased to allow for large URLs, eg. 1000 chars.
When entering a URL longer than 255 chars, MySQL will silently truncate the URL, however other databases like Postgres, Oracle will error.
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Hi Ashley,
With the conversion fo the resource module into seperate types, the url module now has a datatype of text which puts pratically no limits on the url length:
http://docs.moodle.org/en/Development:XMLDB_column_types
So this is fixed