Univention Bugzilla – Bug 44019
modify/delete: univentionPortalBackground: no equality matching rule
Last modified: 2017-04-04 18:29:41 CEST
I'm unable to delete the portal background in a portal entry. The error message: Inappropriate matching: modify/delete: univentionPortalBackground: no equality matching rule
We have already a handling for jpegPhoto in uldap.py.
r78090: * Add a special handling while removing the attributes univentionPortalBackground, univentionPortalLogo and univentionPortalEntryIcon. These attributes don't have a matching rule so we can't add the old value to the delete command (Bug #44019) r78091: The basic Univention LDAP Python library <wordasword>uldap.py</wordasword> allows now the deletion of the following LDAP attributes <property>univentionPortalBackground</property>, <property>univentionPortalLogo</property> and <property>univentionPortalEntryIcon</property> (<u:bug>44019</u:bug>).
Well, I would have solved this at settings/portal: _ldap_modlist() but okay. OK: Changelog
OK: code change FIXED: bug numer was missing in changelog.xml
(In reply to Sönke Schwardt-Krummrich from comment #4) > OK: code change > FIXED: bug numer was missing in changelog.xml Sorry, wrong bug
I still have the problem when changing the CSS background field to empty string: LDAP-Fehler Inappropriate matching: modify/delete: univentionPortalCSSBackground: no equality matching rule
As discussed... this seems to be a problem with the LDAP definition, as the entries SUBSTR and EQUALITY are missing: ---------- 8< ---------- [...] attributetype ( univentionPortalAttributeType:1 NAME 'univentionPortalDisplayName' DESC 'Portal display name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) [...] attributetype ( univentionPortalAttributeType:8 NAME 'univentionPortalCSSBackground' DESC 'Portal CSS style background' SINGLE-VALUE SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) [...] ---------- 8< ----------
r78356: univention-ldap (13.0.7-1) * portal.schema: Added EQUALITY and SUBSTR for univentionPortalCSSBackground (Bug #44019)
caseMatch would be more correct. but okay.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".