Give the gift of Drupal. All merchandise is 50% off through 2016.
Updated: Comment 27
The ajax controller code was pretty much untested so a load() call is still assumes to load multiple views.
Add a proper test coverage and use $entity_storage->load() as intended/
User interface changes
Original report by @RdeBoer
Glossary VIew with "Use AJAX: Yes" produces multiple errors in watchdog. Steps to reproduce are below.
8.x checkout 30 July 2013:
git clone --branch 8.x http://git.drupal.org/project/drupal.git
Enable the canned View named "Glossary". It has AJAX on by default.
Visit the View at /glossary. Output looks fine. At the top of the output we see hyperlinked letters of the alphabet. Click on one. AJAX wheel spins for a while. Nothing changes.
Errors as per attachment.
The first one that occurs (the bottom one in the attachment) is:
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Config\Entity\ConfigStorageController->loadMultiple() (line 125 of /Applications/drupal8/core/lib/Drupal/Core/Config/Entity/ConfigStorageController.php).
In the advanced fieldset set "Use AJAX: No" and all is good. No errors (but no AJAX).
PASSED: [[SimpleTest]]: [MySQL] 59,179 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 58,639 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Setup environment: failed to create checkout database. View