Problem/Motivation
Would be useful if the scheduled updates list showed the items being updated.
Unfortunately $entity->entity_ids is always empty.
So it looks ugly, like this.
Proposed resolution
Something like this.
Remaining tasks
Inject stuff
Determine if entity_ids should contain the right info and forego jumping through hoops
User interface changes
?
API changes
?
Data model changes
?

| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 2698143-showing-the-entities-11.patch | 1.66 KB | henry tran |
| #10 | show-entities-being-updated-2698143.patch | 1.97 KB | ygstnd |
| #2 | Screenshot 2016-04-01 12.28.46.png | 37.93 KB | larowlan |
| update-title.patch | 1.94 KB | larowlan |
Issue fork scheduled_updates-2698143
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
larowlanComment #3
bkosborneI'm guessing this was probably left out from the initial implementation because it's a bit complex to retrieve the target entities. There can also be multiple entities that a scheduled update affects. So the UI for that wouldn't be great if you had any more than a couple.
But yeah, without the info of the "what" the scheduled update is affecting, this page is quite confusing.
Comment #4
realityloop commentedworks as advertised... I do wonder if this should possibly be a view though?
Comment #5
chop commentedWorks well. Using this patch in production.
Comment #6
shaktikit's working fine.
Comment #7
mhavelant commentedIt's working well, however, if you have lots of revisions then it looks pretty overwhelming and every link points to the latest revision.
Comment #8
tedbow$target_fields will be empty if
\Drupal\scheduled_updates\Plugin\UpdateRunner\IndependentUpdateRunneris the update runner.This is when
$entity->entity_idsis not empty.Basically
IndependentUpdateRunnerdoesn't rely on an entity reference field on the target entity type. It uses the entity reference field on the Scheduled Update entity to allow targeting of multiple entities with 1 update.So will cause an error in the current patch.
Comment #9
tedbowAlso we should have test for each type of update, loading the update list page and confirming the title is shown.
Comment #10
ygstnd commentedI got the error like this:
Here's a patch that works for me. It's based on the previously added one.
Comment #11
henry tran commentedI've rerolled to latest version
Comment #15
smustgrave commented