Bug 324354 - QuerySerializerTest does not know how to print a query
Summary: QuerySerializerTest does not know how to print a query
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.10.5
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 13:41 UTC by Christopher Yeleighton
Modified: 2022-11-30 05:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
add (QTest ::toString < Nepomuk ::Query ::Query >) (9.82 KB, patch)
2013-09-01 17:07 UTC, Christopher Yeleighton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2013-09-01 13:41:54 UTC
QuerySerializerTest does not know how to print a query; the queries compare different on the build server but equal in local build root.  I have no hint what went wrong and debugging on the build server is impractical and unsupported.

Reproducible: Always

Steps to Reproduce:
  1. nepomuk/test/queryserializertest.shell;
2.
3.
Actual Results:  
  1.  
1: FAIL!  : QuerySerializerTest::testSerialization(a complex one) Compared values are not the same
1:    Loc: [/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/nepomuk/test/queryserializertest.cpp(285)]


Expected Results:  
  1.
1: FAIL!  : QuerySerializerTest::testSerialization(a complex one) Compared values are not the same
  Expected: query
  Actual: query
1:    Loc: [/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/nepomuk/test/queryserializertest.cpp(285)]
Comment 1 Christopher Yeleighton 2013-09-01 17:07:57 UTC
Created attachment 82090 [details]
add (QTest ::toString < Nepomuk ::Query ::Query >)
Comment 2 Vishesh Handa 2013-10-04 13:42:24 UTC
I'm very confused regarding this patch. The test seems to run fine for me, and I'm not sure how adding this -
+namespace QTest { template <> inline char * toString (Nepomuk ::Query ::Query const & p) { return toString (p .toString ()); }}

fixes the test. Could you please explain the problem a little bit more and provide an explanation about your patch?
Comment 3 Christopher Yeleighton 2013-12-12 21:02:36 UTC
The patch does not cause the test to succeed, it makes the failure message readable.
Comment 4 Christopher Yeleighton 2013-12-28 11:11:26 UTC
The offending code is in kdelibs and does not belong to the Nepomuk project.
Comment 5 Christoph Feck 2014-01-25 20:47:58 UTC
Christopher, are you sure the code is not part of the code handled by Nepomuk developers? We assign bugs by "products", not by repository.
Comment 6 Christopher Yeleighton 2014-01-25 20:54:41 UTC
(In reply to comment #5)
> Christopher, are you sure the code is not part of the code handled by
> Nepomuk developers? We assign bugs by "products", not by repository.

I was told it is legacy code written before Nepomuk became a separate project, deprecated and maintained so that old stuff does not break.
Comment 7 Justin Zobel 2022-10-22 00:00:05 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 8 Christopher Yeleighton 2022-10-31 11:36:51 UTC
(In reply to Justin Zobel from comment #7)
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!

Sorry, entering a bug into the product kdelibs has been disabled.
Comment 9 Bug Janitor Service 2022-11-15 05:15:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-11-30 05:16:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!