Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Bug when creating a hierarchy with fields that belong in a Folder

Answered
eze@wejugo.com asked on September 9, 2020

This happens when I have fields that belong in a Folder (according to the api’s /fields request) and then those fields get used as part of a hierarchy (using the mapping object).
There is a rendering error when I expand the folder, which looks like the attached image. The levels do not appear under the new hierarchy’s name, and I can’t seem to properly use the hierarchy.
Additionally there is a console error:

ERROR TypeError: Cannot read property 'length' of undefined
at b.nk (flexmonster.full.js:1845)
at b.UL (flexmonster.full.js:1844)
at b.update (flexmonster.full.js:1843)
at b.update (flexmonster.full.js:1884)
at e.open (flexmonster.full.js:1906)
at h.GV (flexmonster.full.js:1456)
at flexmonster.full.js:1449

I have resorted to not having the fields of this hierarchy in a Folder to prevent this error.

Also, a side question: Is it possible to re-map the field/hierarchy to a different folder using the mapping object?

Kind regards,
Ezequiel

Attachments:
hierarchy-folder.png

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 11, 2020

Hi Ezequiel,
 
Thank you for writing to us and giving us some time to take a deeper look at your question.
 
We’ve managed to reproduce the described behavior on our side and we have already passed this over to our developers. The fix will be made available with our upcoming release ETA Oct 19th.
 
Answering your second question, at the moment it is not possible to change the folder that the field belongs to – we would suggest sending the fields from the server-side grouped in necessary folders to begin with.
 
Please let us know if you have any other questions we can help you with.
 
Best regards,
Mykhailo 

Please login or Register to Submit Answer