inserting an image using the ezOE popup on a xmlblock does not respect constraints defined for the attribute in the class.
- open any article
- in a xml block, open the popup to insert an image
- in the name field, insert a string with more than 150 chars(the limit defined on 'image' class)
- no error/warning shows
- in file system and DB the object name will have the full length string
as a control test, try to create the same image as a regular object. inserting the same string on the name invalidates publish with an error of string too long.
check also extension/ezoe/modules/ezoe/upload.php
around lines 140-160 several TODOs are declared just for this effect.