Capture description:
When we click "Edit items" we will get this error message
The website encountered an unexpected error. Please try again later.
and the tail for the error log will show:
[Sat Dec 17 15:24:59.335370 2016] [:error] [pid 10418] [client 127.0.0.1:40724] Uncaught PHP Exception Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: "You have requested a non-existent service "datetime.time"." at /var/www/html/test/drupal8/core/lib/Drupal/Component/DependencyInjection/Container.php line 157, referer: http://localhost/test/drupal8/admin/structure/entityqueue
Environment:
Development, Staging, Production
Steps to reproduce:
@javascript @check @local @development @staging @production
Scenario: Check if we do have the eneityqueue module installed in the system.
Given I am a logged in user with the "webmaster" user
When I go to "/admin/modules"
And I wait
Then I should see "Entityqueue"
And the "Entityqueue" checkbox should be checked
@javascript @init @local @development
Scenario: Add Entity Queue "Test Queue" and use "Test Content" content type.
Given I am a logged in user with the "webmaster" user
When I go to "/admin/structure/entityqueue"
And I wait
Then I should see "Add entity queue"
When I click "Add entity queue"
And I wait
Then I should see "Add Entity Queue"
When I fill in "Test Queue" for "Name"
And I fill in "test_queue" for "Machine-readable name"
And I check the box "Test Content"
And I press "Save"
And I wait
Then I should see "The entity queue Test Queue has been added."
@javascript @init @local @development
Scenario: Add Test content N1, N2, N3, N4 nodes to the "Test Queue" entityqueue.
Given I am a logged in user with the "webmaster" user
When I go to "/admin/structure/entityqueue"
And I wait
Then I should see "Test Queue"
When I click "Edit items" in the "Test Queue" row
And I wait
Then I should see "Edit subqueue Test Queue"
........
At this point we are getting the "The website encountered an unexpected error. Please try again later." in the site.
Expected results:
To show the list of queued entities in the sub-queue
Comment | File | Size | Author |
---|---|---|---|
#13 | 2836962-13.patch | 1.99 KB | amateescu |
#12 | 2836962.patch | 2.79 KB | amateescu |
Comments
Comment #2
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedWorking on a fix ..
Comment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #5
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedThis should be fixed already in 8.x-1.0-alpha5, which I released a few hours ago :)
The fix was committed as part of the patch from #2836279: LogicException in unsaved subqueues when adding multiple items..
Comment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedAndrei Thanks for all your hard work.
It's this part
$container->get('datetime.time')
I'm testing 8.x-1.0-alpha5 right a way .. after the release of 8.x-1.0-alpha5
Comment #8
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #9
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedAh, that's because the datetime.time service was only introduced in Drupal 8.3.x. Ugh :(
Comment #10
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedSorry, Not sure what to do now :( .
I'm still researching on how to have it to work with 8.2.x ..
In progress ......
Comment #12
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedCommitted the patch attached which should make it work again with 8.2.x. Can you confirm?
Comment #13
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedThat's the wrong patch, this one was actually committed :)
Comment #14
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedWOW .. that was fast.
Testing ...
#2836879: Updated [Varbase 8.4.x] profile: Updated [Entityqueue] module from 8.1.0-alpha4 to 8.1.0-alpha5
Comment #15
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedPassed my list of scenarios.
Comment #16
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedNice, thanks for testing it.