Changeset 6512


Ignore:
Timestamp:
Aug 12, 2014, 1:41:20 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1829: Packed file exporter can't use external files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-stable/src/plugins/core/net/sf/basedb/plugins/PackedFileExporter.java

    r6127 r6512  
    3535import net.sf.basedb.core.ItemParameterType;
    3636import net.sf.basedb.core.ItemQuery;
    37 import net.sf.basedb.core.Location;
    3837import net.sf.basedb.core.Nameable;
    3938import net.sf.basedb.core.ParameterType;
     
    578577        {
    579578          File f = File.getById(dc, fileId);
    580           if (f.getLocation() == Location.PRIMARY)
     579          if (f.getLocation().isDownloadable())
    581580          {
    582581            loadedFiles.add(f);
     
    623622    {
    624623      ThreadSignalHandler.checkInterrupted();
    625       if (f.getLocation() == Location.PRIMARY)
     624      if (f.getLocation().isDownloadable())
    626625      {
    627626        loadedFiles.add(f);
Note: See TracChangeset for help on using the changeset viewer.