Bug 6337 - Split warning messages
Summary: Split warning messages
Status: RESOLVED NOTABUG
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Cristiana Voicu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-15 13:18 UTC by Belen Barros Pena
Modified: 2014-05-15 14:21 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
warning 1 (80.18 KB, image/png)
2014-05-15 13:18 UTC, Belen Barros Pena
no flags Details
Warning 2 (79.19 KB, image/png)
2014-05-15 13:18 UTC, Belen Barros Pena
no flags Details
Warning 3 (76.41 KB, image/png)
2014-05-15 13:19 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-05-15 13:18:26 UTC
Created attachment 1959 [details]
warning 1

Warning messages that happen during the recipe parsing process are split (see screenshots attached). Steps to reproduce:

* In Hob, using the Advanced Configuration dialog, select the poky-lsb distro

* The recipe parsing process should throw a few warnings. Click the button in the notification to view the warnings

* Navigate through the warnings: a single warning is split across multiple warnings

Expected result: warning messages should not be split (they should appear as a single warning in Hob).
Comment 1 Belen Barros Pena 2014-05-15 13:18:44 UTC
Created attachment 1960 [details]
Warning 2
Comment 2 Belen Barros Pena 2014-05-15 13:19:01 UTC
Created attachment 1961 [details]
Warning 3
Comment 3 Cristiana Voicu 2014-05-15 14:16:03 UTC
This is not a hob bug. It happens only for that warning, because in that recipe it has:
bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
bb.warn('a requirement for LSB')
These are declared as 3 warnings, but the text refers to only 1. 

I will close this bug as not a bug, and I will send a patch to fix that issue with that recipe.
Comment 4 Belen Barros Pena 2014-05-15 14:21:26 UTC
(In reply to comment #3)
> This is not a hob bug. It happens only for that warning, because in that
> recipe it has:
> bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
> bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
> bb.warn('a requirement for LSB')
> These are declared as 3 warnings, but the text refers to only 1. 
> 
> I will close this bug as not a bug, and I will send a patch to fix that
> issue with that recipe.

Sounds good to me. Thanks!