Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2015 at 08:45 UTC
Updated:
16 Aug 2020 at 20:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
UnknownError commentedProblem in nodequeue_contextual_links_view_alter:
latest versions of views provides another structure for contextual links element:
$element['#element']['#views_contextual_links_info']['views_ui']Comment #2
UnknownError commentedPatch for nodequeue module.
Comment #3
UnknownError commentedPatch for view as a pane.
Comment #5
UnknownError commentedComment #7
jkingsnorth commentedAlso doesn't work when added via a display suite field. Exactly the same issue with where the data is held. A symptom of the problem is the warning:
Notice: Undefined index: content in nodequeue_contextual_links_view_alter() (line 321 of .../nodequeue/includes/views/nodequeue.views.inc).
Comment #8
abdhomsi commentedI get this error two with views and display suite.
Comment #9
jeebsuk commentedI can report the same problem as #7 and #8 using Views fields with Display Suite.
Comment #10
sam mooreSame error as #7,8,9 using Views and Display suite.
Notice: Undefined index: content in nodequeue_contextual_links_view_alter() (line 368 of .../sites/all/modules/nodequeue/nodequeue.module).Comment #11
mvzundert commentedSolved the error mentioned in #7, #8
Comment #12
nsciacca+1 for the patch in #11, fixed the errors.
Comment #13
jkingsnorth commentedI can confirm that #11 fixes the issue in #7.
These lines are rather long, is there a utility function which could replace the lengthy way of accessing the deeper levels of ['#element']?
Comment #14
joshuamadduxSame issue as #7,8,9, & 10. I am using Display Suite with an embedded view block.
#11 fixed the issue.
Comment #15
ykyuen commentedPatch #11 did the trick. Thanks.
Comment #16
jkingsnorth commented#11 has 4 positive reviews now, so RTBC
(The refactoring is optional I think)
Comment #17
herved commented+1 for patch #11. Fixed the notices on my side as well (using a 2 column DS layout and DS views block fields).
Comment #18
alexverb commentedFound an issue where exposed filter blocks from a view are still trowing an undefined index error.
I'm setting it back to "needs work" and will provide a patch with a fix.
Comment #19
alexverb commentedHere's the updated patch. It allows for exposed filter blocks to return as they already have the view in the contextual link.
Comment #21
jenlamptonThanks for the update @alexverb, I've committed this change. It will be included in the next release.
Comment #23
BasH commentedI got a notice with php 7.4, changed this:
Comment #24
kbasarab commentedUpdated PHP notices from BasH's comment and included additional notice within the subqueue module..