Changeset 3825


Ignore:
Timestamp:
Oct 12, 2007, 3:06:37 PM (16 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #803: Experiment overview is broken if protocols with non-predefined protocol types are used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4-stable/src/core/net/sf/basedb/util/overview/ExperimentOverview.java

    r3776 r3825  
    15001500      {
    15011501        ProtocolType pt = protocol.getProtocolType();
    1502         if (!pt.getSystemId().equals(defaultProtocol.getType()))
     1502        String requiredId = defaultProtocol == null ? null : defaultProtocol.getType();
     1503        if (requiredId != null && !requiredId.equals(pt.getSystemId()))
    15031504        {
    15041505          failures.add(new Failure(Validator.INCORRECT_PROTOCOLTYPE, parentNode, null,
Note: See TracChangeset for help on using the changeset viewer.