Bug 27219 - [Drucker hinzufügen] Destination als Pflichtfeld
[Drucker hinzufügen] Destination als Pflichtfeld
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Printers
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
: 28255 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-22 11:08 CEST by Florian Best
Modified: 2017-01-02 20:03 CET (History)
5 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 Florian Best univentionstaff 2012-05-22 11:08:42 CEST
Folgender Traceback, wenn ein Drucker ohne Destination Feld gespeichert wird:

  File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 82, in _run
    tmp = self._function()
  File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 267, in _thread
    dn = module.create( properties, container = options.get( 'container' ), superordinate = options.get( 'superordinate' ) )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func
    ret = func( *args, **kwargs )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 310, in create
    self._map_properties( obj, ldap_object )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 262, in _map_properties
    raise UMC_OptionTypeError( _( 'The property %s has an invalid value: %s' ) % ( property_obj.short_description, str( e ) ) )

UMC_OptionTypeError: The property Connection has an invalid value: Connection: not enough arguments

aus dem Destination-Feld sollte ein Pflichtfeld werden.
Comment 1 Florian Best univentionstaff 2012-08-20 12:48:20 CEST
*** Bug 28255 has been marked as a duplicate of this bug. ***
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2012-08-20 13:23:06 CEST
(In reply to bug 28255 comment #0)
> Das sollte abgefangen werden, z.B. in dem 
> "Ziel" ein Pflichtattribut wird (ein Drucker-Share ohne Drucker-URI ist ja 
> ohnehin nicht sinnvoll)

Bei CUPS-PDF wird afair kein Ziel-Anteil angegeben:
univentionPrinterURI: cups-pdf:/
Comment 3 Moritz Muehlenhoff univentionstaff 2013-05-31 10:46:44 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 4 Lukas Walter univentionstaff 2013-11-15 10:47:27 CET
In den Produkttests zu UCS 3.2 wieder aufgefallen: Traceback wird inzwischen zwar abgefangen und durch eine Fehlermeldung ersetzt, jedoch bin ich auch der Meinung dass hier intelligent erkannt und angezeigt werden sollte ob Destination für das jeweilige Protokoll ein Pflichtfeld ist, oder nicht.