cannot change DN of new ldap item

Bug #608655 reported by Tim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
luma (Ubuntu)
In Progress
Undecided
phobie

Bug Description

Binary package hint: luma

While adding an item in the ldap ( I tried mail-alias and organization) the following exception occurs:

 An unhandled exception occured. This is most likely a bug
in the programming of Luma. In order to fix this, send an email with the
following text and a detailed description of what you were doing to
<email address hidden>.
  File "/usr/lib/luma/base/utils/gui/AdvancedObjectWidget.py", line 442, in modifierClicked
    self.editAttribute(attributeName, index)
  File "/usr/lib/luma/base/utils/gui/AdvancedObjectWidget.py", line 496, in editAttribute
    self.ldapDataObject.setAttributeValue(attributeName, index, newValue)
  File "/usr/lib/luma/base/backend/SmartDataObject.py", line 369, in setAttributeValue
    attributeName = self.attributeMap[attributeName.lower()]
Reason: <type 'exceptions.KeyError'> u'rdn'

More precisely, it occurs while changing the DN of the newly to create item ( adding cn= to the most top editable field ).
I am pretty much sure it is an Ubuntu bug, because I downloaded Luma from sourceforge too and it did not have the same bug.

I am using Ubuntu 10.04 LTS and version 2.4-3 of Luma

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: luma 2.4-3
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Thu Jul 22 12:10:08 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: luma

Revision history for this message
Tim (waters23-1999) wrote :
phobie (phobie)
Changed in luma (Ubuntu):
assignee: nobody → phobie (phobie)
Revision history for this message
phobie (phobie) wrote :

The code of the exception is not part of upstream 3.x.
So we could mark it as fixed upstream.
Though with the latest version of luma it is impossible to add any new item because of problems with the templates.

Changed in luma (Ubuntu):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.