Project

General

Profile

« Previous | Next » 

Revision c6d3ffdc

Added by Patrick Plitzner over 6 years ago

ref #6971 Fix creation of two sessions for each name editor

  • session is now passed from editor input to editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
146 146
	@PostConstruct
147 147
    public void createPartControl(Composite parent, MPart thisPart) {
148 148
	    this.thisPart = thisPart;
149
        if (CdmStore.isActive()){
150
            if(conversation == null){
151
                conversation = CdmStore.createConversation();
152
            }
153
        }
154
        else{
155
            return;
156
        }
157 149

  
158 150
        createManagedForm(parent);
159 151

  
......
398 390
		}
399 391

  
400 392
		this.input = input;
393
		conversation = input.getConversationHolder();
401 394

  
402 395
        createOrUpdateNameComposites();
403 396

  

Also available in: Unified diff