Bug #1528: Trucate too long task names so they don't cause problems on save.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
6baf5d0459
commit
512b14a480
1 changed files with 3 additions and 0 deletions
|
|
@ -524,6 +524,9 @@ public abstract class OrderElement extends IntegrationEntity implements
|
|||
}
|
||||
|
||||
public void setName(String name) {
|
||||
if (name.length() > 255) {
|
||||
name = name.substring(0, 255);
|
||||
}
|
||||
this.getInfoComponent().setName(name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue