Project

General

Profile

« Previous | Next » 

Revision 63f3c747

Added by Katja Luther about 7 years ago

ref #6315: avoid NPE if new entity is created from filteredSelectionDialog called from the navigator which has no conversation

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java
499 499
			               // model.add(new UuidAndTitleCache<T>(entity.getUuid(), entity.getId(), getTitle(entity)));
500 500
			                refresh();
501 501
			                setPattern(entity);
502
			                getConversationHolder().bind();
502
			                if (getConversationHolder() != null){
503
			                    getConversationHolder().bind();
504
			                }
503 505
			            }
504 506
			            //FIXME : Need to make sure this is a stable fix (ticket 3822)
505
			            getConversationHolder().commit();
507
			            if (getConversationHolder() != null){
508
			                getConversationHolder().commit();
509
			            }
506 510
			        }
507 511
			    }
508 512
			}

Also available in: Unified diff