Modify

Ticket #1417 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

find in ConfigureEventDataTable model doesn't work

Reported by: jacalvo@… Owned by: juruen@…
Milestone: Component: events
Severity: normal Keywords:
Cc:

Description (last modified by jacalvo@…) (diff)

my $model = EBox::Model::ModelManager::instance()->model('ConfigureEventDataTable?');

my $row = $model->find(eventWatcher => 'EBox::Event::Watcher::Gateways');

$row is undef, iterating by ->ids() it works.

The same occurs with the ->isWatcherEnabled exposed method, probably it's related.

Attachments

Change History

comment:1 Changed 4 years ago by jacalvo@…

  • Description modified (diff)

comment:2 Changed 4 years ago by jacalvo@…

  • Status changed from new to closed
  • Resolution set to worksforme

isEnabledWatcher works, it was something really buggy in my machine, and findValue works instead of find, so I suppose there is no bug here

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.