Project

General

Profile

Revision 63f3c747

ID63f3c747a23736ae6c427b331fcb59c41e556680
Parent 484f8526
Child fd29bcac

Added by Katja Luther over 3 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

Add picture from clipboard (Maximum size: 40 MB)