Bug 32360 - AttributeError: 'EA_Layout' object has no attribute 'label'
AttributeError: 'EA_Layout' object has no attribute 'label'
Status: NEW
Product: UCS extended documentation
Classification: Unclassified
Component: Developer documentation
unspecified
Other Linux
: P4 normal (vote)
: ---
Assigned To: Docu maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 13:38 CEST by Moritz Muehlenhoff
Modified: 2016-10-21 18:55 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Development Internal
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): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-08-26 13:38:55 CEST
It needs to be checker whether the development guide needs to be modified.

+++ This bug was initially created as a clone of Bug #29882 +++

Im Rahmen eines Kundenprojekts:

# udm computers/windows list
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 237, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 394, in doit
    out=_doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 617, in _doit
    univention.admin.modules.init(lo,position,module)
  File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 238, in init
    update_extended_attributes( lo, module, position )
  File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 595, in update_extended_attributes
    currentTab.layout.append( ea_layout.label )
AttributeError: 'EA_Layout' object has no attribute 'label'

EA_Layout ist in /usr/lib/pymodules/python2.6/univention/admin/modules.py deklariert.

Das wurde zuletzt im Rahmen von Bug 23988 durch svn27891 für UCS-3.0 angepasst


Zudem ist die Dokumentation im Handbuch für 3.0 und 3.1 falsch:
<http://jenkins.knut.univention.de:8080/job/UCS-3.1%20Handbooks/lastSuccessfulBuild/artifact/webroot/manual-3.1.html#central:extendedattrs>
| Position number on tab
...
| If extended attributes have the same number, they are listed in a random order. If the difference between two consecutive numbers is larger than 1 and the first attribute is shown in the left column, the second will be displayed in the next line.
| 
| If the Overwrite existing tab option is activated, the numbers will be used to overwrite an existing input field. The numbering of the input fields starts in the top left of the tab with 1.

<svn:branches/ucs-3.1/ucs/management/univention-directory-manager-modules/modules/univention/admin/modules.py>
			# in the first generation of extended attributes of version 2
			# this field was a position defining the attribute to
			# overwrite. now it is the name of the attribute to overwrite
Comment 1 Stefan Gohmann univentionstaff 2015-01-23 10:29:55 CET
Moving to a later point.