Changeset 3419


Ignore:
Timestamp:
May 31, 2007, 11:29:24 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #602: Migration of BASE 1 plug-in definitions is broken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/Base1PluginExecuter.java

    r3417 r3419  
    357357        if (f != null)
    358358        {
    359           f = File.getById(dc, f.getId());
     359          if (f.isInDatabase()) f = File.getById(dc, f.getId());
    360360         
    361361          getManualConfigureParameters();
     
    732732    if (!s.name().equals("plugin"))
    733733    {
    734       throw new BaseException("Bad format on configfile.");
     734      throw new BaseException("Bad format on configuration file: " + f.getName());
    735735    }
    736736   
     
    752752      catch(BaseException e)
    753753      {
    754         throw new BaseException("Error on line "+dataline.lineNo()+" in the configurationfile.", e);
     754        throw new BaseException("Error on line "+dataline.lineNo()+" in the configuration file: " + f.getName(), e);
    755755      }
    756756    }
Note: See TracChangeset for help on using the changeset viewer.