Skip to content
Snippets Groups Projects
Commit 40f33d57 authored by strentini's avatar strentini
Browse files

OO-137 : fix NPE in add artefact wizard (caused by textboxlistcomponent)

parent b6c32c4f
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,9 @@ public abstract class TextBoxListComponent extends FormBaseComponentImpl { ...@@ -150,6 +150,9 @@ public abstract class TextBoxListComponent extends FormBaseComponentImpl {
String inputId = "textboxlistinput" + getFormDispatchId(); String inputId = "textboxlistinput" + getFormDispatchId();
String cmd = ureq.getParameter(inputId); String cmd = ureq.getParameter(inputId);
if(cmd == null){
return;
}
String[] splitted = cmd.split(","); String[] splitted = cmd.split(",");
ArrayList<String> cleanedItemValues = new ArrayList<String>(); ArrayList<String> cleanedItemValues = new ArrayList<String>();
for (String item : splitted) { for (String item : splitted) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment