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

            Bug ID: 411397
           Summary: Discover claims packages are not installed and don’t
                    have reviews even when they are/have
           Product: Discover
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: k...@huftis.org
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY
If I click on an installed and reviewed application *before* the ‘Fetching
Updates...’ process is finished (which can easily take a minute or so), I get
the (translated version) of:

   Install this app and be the first to write a review!

This information is incorrect and confusing. The application *is* both
installed and have user reviews.


STEPS TO REPRODUCE
1. Open Discover.
2. Click on an installed application before the ‘Fetching Updates...’ process
is finished.
3. Look at the reviews section.

OBSERVED RESULT
The review section shows:

   Install this app and be the first to write a review!

And the log on the console says:

   org.kde.plasma.libdiscover: error fetching reviews: "Error transferring
https://odrs.gnome.org/1.0/reviews/api/fetch - server replied: BAD REQUEST"
"{\n    \"msg\": \"missing data, expected version\",\n    \"success\":
false\n}"

EXPECTED RESULT
The reviews section should either show the available reviews, be hidden (if
it’s not possible or fetch reviews before ‘Fetching Updates’ is finished) or
show a message that the reviews will be shown when ‘Fetching Updates’ is
finished. And when ‘Fetching Updates’ is finished, the reviews should
automatically be shown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20190824
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Kernel Version: 5.2.9-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15,6 GiB

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to