Developer forum

Forum » CMS - Standard features » BUG - Error creating an item field

BUG - Error creating an item field

Kenneth Radoor
Reply

Hi

In DW 9.10.1 there is and error when we want to create a new Item field based on an ItemType

If we choose the fieldtype has to be eg, a dropdownlist and want to use "Item type" as the source, we get thise options

And not the "usual"

 

 

 

Looking in the DevTools Console this error is displayed

Uncaught TypeError: Cannot read property 'trim' of undefined
    at klass.initialize (VM4541 ItemFieldOptionsEdit.js:429)
    at klass.initialize (VM4500 prototype-1.7.js:409)
    at new klass (VM4500 prototype-1.7.js:81)
    at Dynamicweb.Items.ItemFieldOptionsEdit.get_form (VM4541 ItemFieldOptionsEdit.js:122)
    at Dynamicweb.Items.ItemFieldOptionsEdit.toggleForm (VM4541 ItemFieldOptionsEdit.js:138)
    at Dynamicweb.Items.ItemFieldOptionsEdit.<anonymous> (VM4541 ItemFieldOptionsEdit.js:163)
    at HTMLUListElement.<anonymous> (VM4500 prototype-1.7.js:371)
    at klass.handleEvent (VM4500 prototype-1.7.js:5768)
    at HTMLUListElement.<anonymous> (VM4500 prototype-1.7.js:371)
    at HTMLUListElement.responder (VM4500 prototype-1.7.js:5598) 

 

Regards

Kenneth


Replies

 
Nicolai Pedersen
Reply

I'll send it to QA.

Did you try to clear your browser cache to flush old versions of the js?

 
Kenneth Radoor
Reply

HI

I did clear cache, and i tried in a browser not used for the Admin before.

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

DevOps Bug 1133 has been submitted against the issue, it will be fixed in upcoming DW release. Thanks for observing.

BR, Oleg QA

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Kenneth

The problem regarding #1133 Unable to create list field with item type source

Has been resolved in Dynamicweb version 9.10.7

Download this from the release section: https://doc.dynamicweb.com/downloads/releases

Please contact support@dynamicweb.dk if you have any questions regarding the upgrade

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum