Ticket #391 (closed bug: fixed)
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
- Arquivo DataAccessor?.
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
Note: See
TracTickets for help on using
tickets.
