Ticket #391 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

Validar DataProvider Desabilitado no DataAccessor

Reported by: evandro.delatin Owned by: evandro.delatin
Priority: critical Milestone: terrama2-4.0.0-alpha2
Component: collector Version: 4.0
Keywords: Cc:
Parent Tickets: Platform: WLA

Description

Ao Executar o DataAccessorDcpInpe? e DataAccessorDcpToa5 com dataProvider desabilitado o sistema não emite exceção.

DataAcessor::getSeries(...)
{

if(!dataProvider_->active)
{

QString errMsg = QObject::tr("Disabled data provider (Should not arrive here!)");

throw DataProviderException?() << ErrorDescription?(errMsg);
TERRAMA2_LOG_ERROR() << errMsg.toStdString();

}

...

}

Colocar o TERRAMA2_LOG_ERROR antes do throw

Subtickets

Change History

comment:1 Changed 10 years ago by evandro.delatin

  • Component changed from analysis to collector

comment:2 Changed 10 years ago by evandro.delatin

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.