Problem/Motivation

From #2704061: Sensors ignore thresholds of 0. Drupal 8 testbot's results of the patch at #4, we've found the following bug:

in Drupal\monitoring\Plugin\monitoring\SensorPlugin\CommerceTurnoverSensorPlugin::getEntityQueryAggregate() calling the parent getEntityQueryAggregate() giving 3 params when the parent doesn't need any.

We might also need to fix some configurations as well, since lately (June 19, 2016) there has been a REST configuration change, see #2747231: REST config converted to config entities.

Proposed resolution

- remove the parameters from the getEntityQueryAggregate() call
- fix the rest monitoring config to config entities where needed (start with demo)

Remaining tasks

- update IS if necessary (for more accurate info)

User interface changes

API changes

Data model changes

Comments

tduong created an issue. See original summary.

tduong’s picture

Status: Active » Needs review
StatusFileSize
new4.79 KB

Ok, here we go. I still have a bug to fix to make MultigraphServicesTest to work, it is something about the restful get monitoring-multigraph permission that leads to an "account creation fails" so $this->drupalLogin() cannot login with a NULL user object...

Status: Needs review » Needs work

The last submitted patch, 2: unneeded_parameters-2775173-2.patch, failed testing.

tduong’s picture

Status: Needs work » Needs review
StatusFileSize
new2.21 KB
new5.08 KB

Fixed some missing/"wrong naming" modules, but there is still something wrong...

Status: Needs review » Needs work

The last submitted patch, 4: unneeded_parameters-2775173-4.patch, failed testing.

berdir’s picture

Status: Needs work » Needs review
StatusFileSize
new9.53 KB
new4.45 KB

Thanks for the fixes. Fixed the last failing tests, at least locally.

The search api problem was fixed in the latest dev, that required also a bunch of other changes. We'll have no choice but to wait for a new release there to have the tests green again.

Status: Needs review » Needs work

The last submitted patch, 6: unneeded_parameters-2775173-6.patch, failed testing.

berdir’s picture

Status: Needs work » Fixed

Yeah, that's all we can do in monitoring for now.

  • Berdir committed 2f6efdf on 8.x-1.x
    Issue #2775173 by tduong, Berdir: getEntityQueryAggregate() gets...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.