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

CommentFileSizeAuthor
#13 2836962-13.patch1.99 KBamateescu
#12 2836962.patch2.79 KBamateescu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RajabNatshah created an issue. See original summary.

Rajab Natshah’s picture

Working on a fix ..

Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Title: Issue when we click "Edit items" for a selected entityqueue You have requested a non-existent service "datetime.time". » Issue when we click "Edit items" for a selected entityqueue ... You have requested a non-existent service "datetime.time".
amateescu’s picture

Status: Needs work » Closed (duplicate)

This 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..

Rajab Natshah’s picture

Issue summary: View changes
Rajab Natshah’s picture

Andrei 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

Rajab Natshah’s picture

Status: Closed (duplicate) » Needs review
amateescu’s picture

Status: Needs review » Needs work

Ah, that's because the datetime.time service was only introduced in Drupal 8.3.x. Ugh :(

Rajab Natshah’s picture

Sorry, Not sure what to do now :( .

I'm still researching on how to have it to work with 8.2.x ..
In progress ......

  • amateescu committed 3207b80 on 8.x-1.x
    Issue #2836962: Bring back compatibility with Drupal 8.2.x.
    
amateescu’s picture

Title: Issue when we click "Edit items" for a selected entityqueue ... You have requested a non-existent service "datetime.time". » Bring back compatibility with Drupal 8.2.x
Status: Needs work » Needs review
FileSize
2.79 KB

Committed the patch attached which should make it work again with 8.2.x. Can you confirm?

amateescu’s picture

FileSize
1.99 KB

That's the wrong patch, this one was actually committed :)

Rajab Natshah’s picture

Rajab Natshah’s picture

Passed my list of scenarios.

amateescu’s picture

Status: Needs review » Fixed

Nice, thanks for testing it.

Status: Fixed » Closed (fixed)

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