Bug 23071 - Anzeige von problematischen Repository-prefixen in der Fehlermeldung
Anzeige von problematischen Repository-prefixen in der Fehlermeldung
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 2.4
Other Linux
: P5 minor (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-22 16:41 CEST by Tobias Scherer
Modified: 2018-04-14 13:51 CEST (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Scherer univentionstaff 2011-07-22 16:41:11 CEST
Es wäre nett wenn univention-updater bei fehlerhaften Prefixeinstellungen den Prefix in der Fehlermeldung auch nennt.

Index: univention-updater/modules/univention/updater/tools.py
===================================================================
--- univention-updater/modules/univention/updater/tools.py      (Revision 25565)
+++ univention-updater/modules/univention/updater/tools.py      (Arbeitskopie)
@@ -1119,7 +1119,7 @@
                                assert server.access('')
                        except DownloadError, e:
                                uri, code = e
-                               raise ConfigurationError(uri, 'non-existing prefix')
+                               raise ConfigurationError(uri, 'non-existing prefix %s' % prefix)
                except ConfigurationError, e:
                        if self.check_access:
                                raise
Comment 1 Stefan Gohmann univentionstaff 2013-04-03 21:52:27 CEST
modules/univention/updater/tools.py:                            raise ConfigurationError(uri, 'non-existing prefix "%s": %s' % (self.repository_prefix, uri))
modules/univention/updater/tools.py:                                    raise ConfigurationError(uri, 'non-existing component prefix: %s' % (str(uri)))