Created attachment 3231 [details] Web output when searching in the recipe table. DESCRIPTION: A NameError is provoked when trying to search in the recipe table. The path to this table is $project--->Builds--->$builtImageName--->Recipes BUILD: master:6c5d7f1fb276cbe0a461ece6c8f0ca17a478fa8c ENVIRONMENT: Debian 4.3.0-0.bpo.1-amd64 STEPS TO REPRODUCE: 1. Start Toaster 2. Create a project 3. Build an image 4. Go to the image recipe table 5. Search some string EXPECTED OUTCOME: The table to show a search result ****ERROR SHOWN: NameError at /toastergui/build/4/recipes/ name 'x' is not defined Request Method: GET Request URL: http://localhost:8000/toastergui/build/4/recipes/?search=base&page=1&count=100&orderby=name%3A%2B Django Version: 1.8.13 Exception Type: NameError Exception Value: name 'x' is not defined Exception Location: /home/libby/ToasterMaster/poky/bitbake/lib/toaster/toastergui/views.py in _get_search_results, line 327 Python Executable: /usr/bin/python3 ********* COMMENTS: The shown error is the same as BUG 9745, but it was encountered a different way. So I decided to open a new bug. Also Elliot might have a patch to this, I was not able to find the corresponding bug for that.
Patch sent to the toaster mailing list https://lists.yoctoproject.org/pipermail/toaster/2016-June/004790.html
Just doing a quick check on this, as I'm not sure the patch Belen linked to actually fixes the issue.
Patch sent to mailing list (correct one this time): https://lists.yoctoproject.org/pipermail/toaster/2016-June/004859.html
Fixed in bitbake a3ebeb37f7bd4cffe6707c634b4f0a0ea52ccc45.
Verified in 2.2 M1 commit 6f0c5537e02c59e1c8f3b08f598dc049ff8ee098