[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 406753] New: If Else (Match all sequentially) when contained in And (Match all) fails 
From:       "Gary Kenneth Krueger" <bugzilla_noreply () kde ! org>
Date:       2019-04-22 3:45:31
Message-ID: bug-406753-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=406753

            Bug ID: 406753
           Summary: If Else (Match all sequentially) when contained in And
                    (Match all) fails in Dynamic Playlist
           Product: amarok
           Version: 2.9.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Playlists/Dynamic Playlists
          Assignee: amarok-bugs-dist@kde.org
          Reporter: garykennethkrueger@gmail.com
                CC: ralf-engels@gmx.de
  Target Milestone: kf5

SUMMARY
If Else (Match all sequentially) when contained in And (Match all) fails in
Dynamic Playlist

If any "If Else" element fails the And will always fail the If Else.

STEPS TO REPRODUCE
1. Create an And with one or more succeeding biases.
2. Create an If Else (within the And) that succeeds for the first one or more
biases, but fails on one or more subsequent biases.
3. Repopulate.

OBSERVED RESULT
Nothing from the If Else will appear in the playlist.

EXPECTED RESULT
There should be results that match in the playlist.

Part of the problem is the traditional meaning of "If ... Else" does not match
the traditional meaning of "Match all sequentially".  But, Amarok is treating
them as identical.

"If ... Else" should return the first thing that matches, and if any one entry
is successful, the overall result should be successful (a TRUE for the
enclosing And).

"Match all sequentially" should return everything that matches, until something
doesn't match.  But, the overall result should be successful if the first entry
was successful (a TRUE for the enclosing And).

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu Bionic Beaver 18.04.2 LTS.

libqtcore4/bionic,now 4:4.8.7+dfsg-7ubuntu1 amd64 [installed,automatic]
  Qt 4 core module
libqtgui4/bionic,now 4:4.8.7+dfsg-7ubuntu1 amd64 [installed,automatic]
  Qt 4 GUI module
libqt5gui5/bionic-updates,now 5.9.5+dfsg-0ubuntu2 amd64 [installed,automatic]
  Qt 5 GUI module
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Connected to local mysql database.

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic