Univention Bugzilla – Attachment 4013 Details for
Bug 25409
Fallback bei Identifikation von Objekten funktioniert nicht korrekt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix object identification
fix_object_identify.patch (text/plain), 786 bytes, created by
Andreas Büsching
on 2011-12-09 17:50:02 CET
(
hide
)
Description:
fix object identification
Filename:
MIME Type:
Creator:
Andreas Büsching
Created:
2011-12-09 17:50:02 CET
Size:
786 bytes
patch
obsolete
>Index: umc/python/udm/__init__.py >=================================================================== >--- umc/python/udm/__init__.py (Revision 29884) >+++ umc/python/udm/__init__.py (Arbeitskopie) >@@ -414,10 +414,11 @@ > result = module.search( request.options.get( 'container' ), request.options[ 'objectProperty' ], request.options[ 'objectPropertyValue' ], superordinate ) > > entries = [] >+ object_type = request.options.get( 'objectType', request.flavor ) > for obj in result: > if obj is None: > continue >- module = get_module( request.flavor, obj.dn ) >+ module = get_module( object_type, obj.dn ) > if module is None: > MODULE.warn( 'Could not identify LDAP object %s (flavor: %s). The object is ignored.' % ( obj.dn, request.flavor ) ) > continue
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25409
: 4013