Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When calling something like:
$backend = node_load(3060)->versioncontrol_project['repo']->getBackend();
$conditions = [
'branches' => 389286,
'committer_date' => [
'operator' => '>',
'values' => 1494661108,
],
];
$backend->loadEntities('operation', [], $conditions);
currently this notice happens:
Undefined property: VersioncontrolGitOperation::$operator controllers.inc:384
Comment | File | Size | Author |
---|---|---|---|
#2 | 2909486.patch | 910 bytes | drumm |
|
Comments
Comment #2
drummThis patch bails and does not try using the cache when these conditions are seen.
Comment #5
marvil07 CreditAttribution: marvil07 as a volunteer and at Isovera commentedThanks for the patch, I have just added test coverage for this case, and verified that the patch solves the problem.
Added now to 7.x-1.x.