Issue Details (XML | Word | Printable)

Key: APF-921
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Nathan Anderson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

generated sample data does not fit string columns when they are less than 10 characters long

Created: 29/Sep/07 01:16 AM   Updated: 06/Nov/07 11:33 PM   Resolved: 06/Nov/07 11:33 PM
Component/s: Tools - AMP
Affects Version/s: 2.0 Final
Fix Version/s: 2.0.1


 Description  « Hide
Generated String data is always 10 characters long, so when a POJO has a String property with a length less than 10 characters long the generated data causes the tests to fail.

Example property:

@Column(nullable=false, length=4)
public String getInitials() {
    return initials;
}

Sort Order: Ascending order - Click to sort in descending order
Nathan Anderson added a comment - 29/Sep/07 01:34 AM
The ActionTest classes also have generated Strings that are too long.

Matt Raible added a comment - 06/Nov/07 11:33 PM
Fixed by APF-922.