Skip to content
Snippets Groups Projects
Commit 153b4c4e authored by srosse's avatar srosse
Browse files

OO-736: fix the RS if a user create an artefact but have no map at all

parent 6e570746
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ public class EPCollectStepForm04 extends StepFormBasicController { ...@@ -149,7 +149,7 @@ public class EPCollectStepForm04 extends StepFormBasicController {
protected void formOK(UserRequest ureq) { protected void formOK(UserRequest ureq) {
PortfolioStructure selectedPortfolioStructure = preSelectedStructure; PortfolioStructure selectedPortfolioStructure = preSelectedStructure;
TreeNode node = mapsTreeController.getSelectedNode(); TreeNode node = mapsTreeController == null ? null : mapsTreeController.getSelectedNode();
if(node != null) { if(node != null) {
Object obj = node.getUserObject(); Object obj = node.getUserObject();
if(obj == null) { if(obj == null) {
......
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