Summary: | Accepting License agreement does not work when more than one license has to be accepted | ||
---|---|---|---|
Product: | [Applications] apper | Reporter: | Wolfgang Bauer <wbauer1> |
Component: | general | Assignee: | Daniel Nicoletti <dantti12> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | phillippewels |
Priority: | NOR | ||
Version: | 0.8.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/apper/91084eef8b999d04ef5b8cd6b140e2c4d8b942dd | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | patch that "fixes" the problem |
Description
Wolfgang Bauer
2013-10-25 09:53:16 UTC
Created attachment 83103 [details]
patch that "fixes" the problem
Attached patch makes this work for me.
I don't think this is the right way to fix the issue, but it may provide further clues what's going wrong in the first place.
To clarify: The issue is that d->handlingActionRequired is not reset to false after accepting the license. So it is still true when the next license agreement has to be accepted and slotEulaRequired bails out without showing that second license agreement. Proposed fix: https://git.reviewboard.kde.org/r/113428/ Git commit 91084eef8b999d04ef5b8cd6b140e2c4d8b942dd by Wolfgang Bauer. Committed on 27/10/2013 at 14:56. Pushed by wbauer into branch 'master'. Fix accepting multiple license agreements This patch fixes the handling of more than one license agreement by setting d->handlingActionRequired = false in requeueTransaction(). Before, this was still true when entering slotEulaRequired() for the second license. That one was not shown therefore, but Apper aborted instead. M +5 -0 libapper/PkTransaction.cpp http://commits.kde.org/apper/91084eef8b999d04ef5b8cd6b140e2c4d8b942dd |