Univention Bugzilla – Bug 32856
JavaScript error for unmapped UDM syntax types
Last modified: 2017-08-08 07:09:52 CEST
Using a syntax which is not mapped to a UMC widget (e.g., Bzip2Base64Upload), one will obtain a JavaScript error and the UDM object cannot be opened: > "TypeError: Cannot call method 'indexOf' of undefined This behaviour is due to the mapping logic in udm/DetailPage.js: > ... > if ( iprop.id.slice( 0, 1 ) == '$' && iprop.id.slice( -1 ) == '$' ) { > properties.push(iprop); > return; > } > if ( 'LinkList' == iprop.type ) { > iprop.multivalue = false; > } else if ( iprop.type.indexOf('MultiObjectSelect') >= 0 ) { > ... In this case, type is undefined. It would be helpful to handle undefined types and assign a dummy widget type such that the user may see that a property is not rendered properly. Not sure whether this problem occurs in 3rd party extensions.
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 3.1. UCS 3.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.