Issue #2950869 by Fabianx, amateescu, alexpott, abhishek-anand, adam.weingarten, Timmy_Cos, bryanmanalo, corneboele, matsbla, Wim Leers, mheip, effulgentsia, mariancalinro, Krzysztof Domański: Entity queries querying the latest revision very slow with lot
2 unresolved threads
Merge request reports
Activity
added 1 commit
added 1 commit
375 375 $expected = [1 => '1', 2 => '2', 3 => '3', 16 => '4', 17 => '5', 18 => '6', 19 => '7', 8 => '8', 9 => '9', 10 => '10', 11 => '11', 20 => '12', 21 => '13', 22 => '14', 23 => '15']; 376 376 $this->assertSame($expected, $results); 377 378 $results = $this->queryResults = $this->storage 379 ->getQuery() 380 ->latestRevision() 381 ->notExists("$figures.color") 382 ->accessCheck(TRUE) 383 ->execute(); 384 $expected = [16 => '4', 8 => '8', 20 => '12']; 385 $this->assertSame($expected, $results); 386 387 // Update an entity. 388 $entity = EntityTestMulRev::load(4); 389 $entity->setNewRevision(); 390 $entity->$figures->color = 'red';
Please register or sign in to reply