Bug #1528: Check if name is null before truncating it.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
89e960a4f6
commit
848a8b5c12
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@ public abstract class OrderElement extends IntegrationEntity implements
|
|||
}
|
||||
|
||||
public void setName(String name) {
|
||||
if (name.length() > 255) {
|
||||
if (name != null && name.length() > 255) {
|
||||
name = name.substring(0, 255);
|
||||
}
|
||||
this.getInfoComponent().setName(name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue