Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 248214 - The DB refactor code for the Portal doesn't check varchar lengths
Summary: The DB refactor code for the Portal doesn't check varchar lengths
Status: CLOSED DUPLICATE of bug 217787
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Project Management & Portal (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Portal Bugzilla Dummy Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 18:50 EDT by Gabe O'Brien CLA
Modified: 2008-11-06 14:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabe O'Brien CLA 2008-09-22 18:50:03 EDT
Currently when you refactor a database the values for a length of the varchar field are not checked.  The code seems to verify that the varchar length is a decimal, but make no attempt to compare the length in the database to the length specified in the current schema.  This can lead to some serious data loss with data being truncated.
Comment 1 Karl Matthias CLA 2008-10-24 18:06:02 EDT
This is fixed in the new refactoring engine, but that engine is not yet part of the Portal.
Comment 2 Karl Matthias CLA 2008-10-31 18:30:43 EDT

*** This bug has been marked as a duplicate of bug 217787 ***
Comment 3 Karl Matthias CLA 2008-11-06 14:11:53 EST
Released or closed for STAGING_279.  Please see final comments for actual resolution status.  This message does not imply that any action was taken that was not already described.