Bug #1528: Trucate too long task names so they don't cause problems on save.

FEA: ItEr76S04BugFixing
This commit is contained in:
Jacobo Aragunde Pérez 2012-08-09 19:25:07 +02:00
parent 6baf5d0459
commit 512b14a480

View file

@ -524,6 +524,9 @@ public abstract class OrderElement extends IntegrationEntity implements
} }
public void setName(String name) { public void setName(String name) {
if (name.length() > 255) {
name = name.substring(0, 255);
}
this.getInfoComponent().setName(name); this.getInfoComponent().setName(name);
} }