According to the interface documentation: http://api.drupal.org/api/drupal/modules--system--system.queue.inc/funct...
createItem() should return TRUE if the item was added to the queue.
MemoryQueue::createItem does not do this.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | memoryqueue-createitem-1364694-9.patch | 416 bytes | banviktor |
| #4 | memoryqueue-createitem-1364694-4.patch | 784 bytes | gielfeldt |
| #1 | memoryqueue-createitem-1364694-1.patch | 807 bytes | gielfeldt |
Comments
Comment #1
gielfeldt commentedComment #3
gielfeldt commented"#¤"#¤#¤&#¤!"#/&%&/%& ... now what?!?
Can someone guide me to the docs for creating patches for Drupal core? Can't seem to find it...
Comment #4
gielfeldt commentedAh, RTFM...
Comment #5
gielfeldt commentedStatus? This patch is still valid.
Comment #6
banviktor commentedRan into the same issue. Patch still applies to 7.x and fixes the problem. Thank you gielfeldt!
Comment #7
fabianx commentedThis is fixed in D8.
Marking for commit, nice catch!
Needs a re-roll though so it can be re-tested.
I don't think we need tests for this as it is fixed in D8.
Comment #8
banviktor commentedRerolled so this issue doesn't get stuck again. All credits go to @gielfeldt.
Comment #9
banviktor commentedWhoops forgot to upload.
Comment #10
fabianx commentedThank you!
Comment #11
stefan.r commentedThis should be fine to commit without tests, the interface is clear, and testing that it returns TRUE seems a bit silly.
Comment #13
fabianx commentedCommitted and pushed to 7.x. Thanks!
Comment #14
fabianx commented