Bug 8379

Summary: "sorting" doesn't work well on "Recipe file" column
Product: [Build System, Metadata & Runtime] Toaster Reporter: Ke Zou <ke.zou>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED NOTABUG QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium CC: belen.barros.pena, bogdanx.a.voiculescu, jessica.zhang, stanciux.mihail
Version: 1.9   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ke Zou 2015-09-23 02:17:08 UTC
testcase: 
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=910

How to reproduce:
In toaster webpage:
Image --- Recipes
click "Recipe file" to sort
Some of the recipe files have the same name only that one of them has"(native:virtual)" in the end.
Sorting didn't change the sequence of these two files.
For instance :
recipes-support/sqlite/sqlite3_3.8.10.2.bb
recipes-support/sqlite/sqlite3_3.8.10.2.bb (native:virtual)

after clicking "Recipe file" column, they remain the same order
Comment 1 Michael Wood 2015-11-12 11:58:48 UTC
The field for recipe file path is only sorted on the actual value of the file_path such as "recipes-support/sqlite/sqlite3_3.8.10.2.bb" and not any additional data such as the pathflags which you see in brackets such "(native:virtual)" as this is just some additional info. This is the correct behaviour as designed so closing this bug. If I've misunderstood please feel free to reopen.
Comment 2 Cristina Agurida 2015-11-17 12:11:57 UTC
As per last comment set it as verified not a bug.