Univention Bugzilla – Full Text Bug Listing |
Summary: | univention-upgrade: Do not fail if App Center is not reachable | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | Update - univention-updater | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P1 | CC: | best, gohmann |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 2: Improvement: Would be a product improvement |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.046 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 41853 |
Description
Dirk Wiesenthal
2016-07-28 17:31:38 CEST
Using call_safe() instead of call() in univention-updater 11.0.11-3.1483.201608160000 OK: r71728 OK: ip route add prohibit "$(dig +short appcenter.software-univention.de)" univention-upgrade --check Checking for app updates: An error occurred - see "/var/log/univention/updater.log" for details FAIL: r72203 is not merged into UCS-4.2 FYI: bad karma points for "UserCancelled": using exception for flow control is an anti-pattern! (In reply to Philipp Hahn from comment #3) > FAIL: r72203 is not merged into UCS-4.2 > This is actually Bug#41840 The whole change is essentially: - app_upgrade_search.call() + try: + app_upgrade_search.call() + except Abort: + pass (maybe I changed something in the import section, but this, too, is the same in 4.1-3 as in 4.2-0) > FYI: bad karma points for "UserCancelled": using exception for flow control > is an anti-pattern! Fortunately, this will be reverted. (In reply to Dirk Wiesenthal from comment #4) > > FYI: bad karma points for "UserCancelled": using exception for flow control > > is an anti-pattern! > > Fortunately, this will be reverted. The "Abort"-exception is the same btw ^^ OK: 11.0.11-8.1490.201609201429 OK: 4.1-3 OK: 4.2-0 OK: errata-announce -V --only univention-updater.yaml FIXED: univention-updater.yaml r72716 |