summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorReyna, David <david.reyna@windriver.com>2020-03-27 15:51:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-29 20:02:36 +0100
commit4f959dff769f37d745daf705dd169704656e0ba3 (patch)
tree4ecd8702d29f0d3050a0aa6c782743dbc4b594c3 /bitbake
parent063e0ced9aab18c25a0438207c89b0259b0aaeb8 (diff)
downloadpoky-4f959dff769f37d745daf705dd169704656e0ba3.tar.gz
bitbake: toaster: FieldError loading Reverse runtime dependencies
When selecting reverse runtime dependencies, filter on simply 'depends_on' instead of the obsolete 'depends_on__name' or 'depends_on__size'. [YOCTO #13717] (Bitbake rev: 085940c12619549be3fbd4ead9379ab0a97ac5bf) Signed-off-by: Ahmed.Hossam <Ahmed.Hossam@opensynergy.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index ae1973ff24..9a5e48e3bb 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -1191,7 +1191,7 @@ def package_included_reverse_dependencies(request, build_id, target_id, package_
1191 return _redirect_parameters( 'package_included_reverse_dependencies', request.GET, mandatory_parameters, build_id = build_id, target_id = target_id, package_id = package_id) 1191 return _redirect_parameters( 'package_included_reverse_dependencies', request.GET, mandatory_parameters, build_id = build_id, target_id = target_id, package_id = package_id)
1192 (filter_string, search_term, ordering_string) = _search_tuple(request, Package_File) 1192 (filter_string, search_term, ordering_string) = _search_tuple(request, Package_File)
1193 1193
1194 queryset = Package_Dependency.objects.select_related('depends_on__name', 'depends_on__size').filter(depends_on=package_id, target_id=target_id, dep_type=Package_Dependency.TYPE_TRDEPENDS) 1194 queryset = Package_Dependency.objects.select_related('depends_on').filter(depends_on=package_id, target_id=target_id, dep_type=Package_Dependency.TYPE_TRDEPENDS)
1195 objects = _get_queryset(Package_Dependency, queryset, filter_string, search_term, ordering_string, 'package__name') 1195 objects = _get_queryset(Package_Dependency, queryset, filter_string, search_term, ordering_string, 'package__name')
1196 1196
1197 package = Package.objects.get(pk=package_id) 1197 package = Package.objects.get(pk=package_id)