Univention Bugzilla – Full Text Bug Listing |
Summary: | second app center instance fails during app installation in first instance | ||
---|---|---|---|
Product: | UCS | Reporter: | Ingo Steuwer <steuwer> |
Component: | UMC - App-Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, gulden, jmm, klaeser |
Version: | UCS 3.1 | ||
Target Milestone: | UCS 3.1-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | 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: | 31855 |
Description
Ingo Steuwer
2013-06-05 21:01:12 CEST
We could make sure that only one App Center tab is opened simultaneously (as in UCS@school computerroom). Would that be an option? (In reply to Alexander Kläser from comment #1) > We could make sure that only one App Center tab is opened simultaneously (as > in UCS@school computerroom). Would that be an option? yes, no concerns on my side. Fixed in univention-management-console-module-appcenter 2.0.139-14.143.201306281536 and univention-management-console-module-appcenter 3.0.1-1.144.201306281606 YAML: 2013-06-28-univention-management-console-module-appcenter.yaml Changelog updated As discussed, the problem seems to happen as appcenter/packages/section is accessing the same PackageManager instance which is installing the app. My guess would be that the iterator object is invalidated due to an cache update. Suggestion: appcenter/packages/section should open a separate apt.Cache instance to iterate over the packages and determine all sections. From my understanding, this will not interfere with the running PackageManager as the Cache is loaded completely into memory (I tested it with two different Cache instances and differing repositories). (In reply to Alexander Kläser from comment #4) > Suggestion: appcenter/packages/section should open a separate apt.Cache Done in univention-management-console-module-appcenter 2.0.139-15.147.201307051308 and univention-management-console-module-appcenter 3.0.3-1.146.201307051305 I could not reproduce the traceback and the module can only be opened once now (→ see also Bug 31855). Erratum changes → OK YAML file → OK 3.2 changes → OK 3.2 changelog → FAIL, needs to be adapted (In reply to Alexander Kläser from comment #6) > I could not reproduce the traceback and the module can only be opened once > now (→ see also Bug 31855). > > Erratum changes → OK > YAML file → OK > 3.2 changes → OK > 3.2 changelog → FAIL, needs to be adapted I adapted the changelog entry. |