Issue Details (XML | Word | Printable)

Key: ABICLOUD-279
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Albert Puig
Reporter: Diego Parrilla
Votes: 0
Watchers: 0
Operations

Email this issue
Send issue summary in email
If you were logged in you would be able to see more operations.
Abiquo

Change 'description' field in Virtual Image to text type, or truncate to 255

Created: 21/Oct/09 10:55 AM   Updated: 10/Jun/10 10:11 AM   Resolved: 21/Oct/09 12:45 PM
Component/s: Appliances Library
Affects Version/s: abicloud-1.0.0PR
Fix Version/s: abicloud-1.0.0PR2

Time Tracking:
Not Specified


 Description  « Hide
This is a problem that has been hanging around for a long time:

All the text fields retrieved from XML files (OVF for example) should be truncated to the maximum size of the fields allowed in the database. For example, if the description of a Virtual Image is longer than 255, the download process completes, it does not report any error, but the image is not published in the local repository because the insertion fails because of this problem.

Two options here:

1) change all the 'description' fields from VARCHAR to TEXT type
2) truncate the string fields to the maximum allowed size of the field.

Option two is the correct one.

Albert Puig added a comment - 21/Oct/09 12:45 PM
resolved with the correct option