Univention Bugzilla – Full Text Bug Listing |
Summary: | Using brackets in the version of an INI file make the registration fail | ||
---|---|---|---|
Product: | UCS | Reporter: | Moritz Muehlenhoff <jmm> |
Component: | App Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, walkenhorst, wiesenthal |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-2-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: | 35896 |
Description
Moritz Muehlenhoff
2014-06-17 13:17:31 CEST
- appcenter_udm_module.lookup(self._co, self._lo, 'id=%s' % self._ldap_id) + appcenter_udm_module.lookup(self._co, self._lo, 'id=%s' % ldap.filter.escape_filter_chars(self._ldap_id)) _ldap_id can be two values: udm_object.info['id'] # if already exists '%s_%s' % (app.id, app.get('version')) # if it is new Needs to be tested for both cases, but should work. We should also fix appcenter_udm_module.lookup(co, lo, '(&(id=%s_*)(server=%s))' % (self.id, localhost)) (altough the ID of an application is normally "safe") There is also container_udm_module.lookup(co, lo, 'cn=%s' % container, base=base) which can also have the application's id as "container". Fixed in univention-management-console-module-appcenter 3.0.51-23.257.201407081251 Setting UCR variable in postinst (In reply to Dirk Wiesenthal from comment #2) > Setting UCR variable in postinst I meant: ID and Version may contain brackets My tests where fine (i.e., installation, upgrade, removal with uncommon characters in the version string) and produced DNs similar to this one: DN: univentionAppID=univention-demo_0.3 (\3D\3D**!!gamma!!**\3D\3D),cn=univention-demo,cn=apps,cn=univention,dc=ucs322,dc=qa YAML file → OK |