mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 19:57:36 +08:00
Exception on opening Related Entities if related attribute is null #PL-6116
This commit is contained in:
parent
7f83c7c134
commit
077906b39c
@ -181,12 +181,19 @@ public class Param {
|
||||
}
|
||||
|
||||
if (inExpr) {
|
||||
String[] parts = text.split(",");
|
||||
List list = new ArrayList(parts.length);
|
||||
for (String part : parts) {
|
||||
list.add(parseSingleValue(part));
|
||||
if (StringUtils.isBlank(text)) {
|
||||
value = new ArrayList<>();
|
||||
} else {
|
||||
String[] parts = text.split(",");
|
||||
List list = new ArrayList(parts.length);
|
||||
for (String part : parts) {
|
||||
Object value = parseSingleValue(part);
|
||||
if (value != null) {
|
||||
list.add(value);
|
||||
}
|
||||
}
|
||||
value = list;
|
||||
}
|
||||
value = list;
|
||||
} else {
|
||||
value = parseSingleValue(text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user