Project

General

Profile

« Previous | Next » 

Revision 5bf7fbd1

Added by Katja Luther about 4 years ago

fix #8879: add only name of datasource without server to export file name

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java
486 486
		buffer.append(sdf.format(cal.getTime()));
487 487

  
488 488
		buffer.append("-");
489
		buffer.append(type + "_export-");
490
		buffer.append(((CdmRemoteSource)CdmStore.getActiveCdmSource()).toString());
489
		buffer.append(type + "_export_");
490

  
491
		String source = ((CdmRemoteSource)CdmStore.getActiveCdmSource()).toString();
492
		source = source.substring(source.indexOf("/")+1);
493
		buffer.append(source);
491 494

  
492 495

  
493 496
		buffer.append(".");

Also available in: Unified diff