Posted by zabelc on October 5, 2011 at 7:44pm
5 followers
| Project: | Chaos tool suite (ctools) |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have a Page/Panel that takes two arguments, a required string (which I use as a content type), and an optional taxonomy term. (The path being configured to be "content_list/%content_type/!term").
If I don't provide the term I get the following warning:
- Notice: Trying to get property of non-object in ctools_term_breadcrumb() (line 145 of ~/public_html/sites/all/modules/ctools/plugins/arguments/term.inc).
Comments
#1
I got rid of the error by modifying line 139 to read:
if (empty($conf['breadcrumb']) || empty($context->data) ) {Thus checking for empty context data
#2
i had the same issue with ctools 7.x-1.0-rc1+116-dev.
The line works - could it be fixed in a coming release?
thanks,
parampadam
#3
Patches attached for both D6 and D7.
#4
Committed ot both branches.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.