You are here: Foswiki>Tasks Web>Item14912 (13 Oct 2020, MichaelDaum)Edit Attach

Item14912: OP_ref doesn't play nice with version queries

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: UnitTestContrib
Branches:
Reported By: TimothyLegge
Waiting For:
Last Change By: MichaelDaum
-- TimothyLegge - 28 May 2020
        QueryTests::verify_versions_on_other_topic_fail_BruteForceQuery
***  Item10121: OP_ref does'nt play nice with versions queries
Expected ARRAY ARRAY(0x5563bdfea098), got [[99,String,n
n t#09;t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Diesel],[99,String,n
n t#09;t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petroleum],[99,String,n
n t#09;t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petrol]] for 'AnotherTopic'/versions.META:FIELD[name='SillyFuel'].value in QueryTests /home/tim/foswiki/core/test/unit/QueryTests.pm 841
Diesel
!=
ARRAY(0x5563a7fe5340)
at [] at /home/tim/foswiki/core/lib/Unit/TestCase.pm line 240.
#09;Unit::TestCase::assert_equals(QueryTests=HASH(0x5563bd7578d0), "Diesel", ARRAY(0x5563a7fe5340), "Expected ARRAY ARRAY(0x5563bdfea098), got [[99,String,n\x{a}n t\x{9}t"...) called at /home/tim/foswiki/core/lib/Unit/TestCase.pm line 443
#09;Unit::TestCase::assert_deep_equals(QueryTests=HASH(0x5563bd7578d0), "Diesel", ARRAY(0x5563a7fe5340), "Expected ARRAY ARRAY(0x5563bdfea098), got [[99,String,n\x{a}n t\x{9}t"..., HASH(0x5563be0f3ed8), "[]") called at /home/tim/foswiki/core/lib/Unit/TestCase.pm line 413
#09;Unit::TestCase::assert_deep_equals(QueryTests=HASH(0x5563bd7578d0), ARRAY(0x5563bdfea098), ARRAY(0x5563be0dfee8), "Expected ARRAY ARRAY(0x5563bdfea098), got [[99,String,n\x{a}n t\x{9}t"...) called at /home/tim/foswiki/core/test/unit/QueryTests.pm line 272
#09;QueryTests::check(QueryTests=HASH(0x5563bd7578d0), "'AnotherTopic'/versions.META:FIELD[name='SillyFuel'].value", "eval", ARRAY(0x5563bdfea098)) called at /home/tim/foswiki/core/test/unit/QueryTests.pm line 841
#09;QueryTests::verify_versions_on_other_topic_fail(QueryTests=HASH(0x5563bd7578d0)) called at (eval 1836810) line 4
#09;Unit::TestCase::__ANON__(QueryTests=HASH(0x5563bd7578d0)) called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 575
#09;Unit::TestRunner::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 465
#09;eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 454
#09;Error::subs::try(CODE(0x5563bdfafec8), HASH(0x5563be0ea0a8)) called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 602
#09;Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x55639a3f2f08), QueryTests=HASH(0x5563bd7578d0), "QueryTests", undef) called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 163
#09;Unit::TestRunner::start(Unit::TestRunner=HASH(0x55639a3f2f08), "FoswikiSuite.pm") called at ../bin/TestRunner.pl line 143.
 
        QueryTests::verify_constants_BruteForceQuery

likely a duplicate of Item14906

-- TimothyLegge - 28 May 2020

These are expected failures.

-- MichaelDaum - 13 Oct 2020
 

ItemTemplate edit

Summary OP_ref doesn't play nice with version queries
ReportedBy TimothyLegge
Codebase
SVN Range
AppliesTo Extension
Component UnitTestContrib
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 13 Oct 2020, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy