Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

migx with multiple tabs - error in ext-all.js while saving the resource #307

Open systemshock89 opened 6 years ago

systemshock89 commented 6 years ago

Hi! I have a MIGX with multiole formtabs and normal formtabs with a lot of different fields. While there were not many tabs and fields in them, there were no errors. But now when adding some tabs I can not save the resource - when I click on the button "save" - error: ext-all.js:21 Uncaught TypeError: Cannot read property 'length' of undefined

The error may disappear when you remove from this tab some "excess" field. Also, the error can disappear if I turn off all other tabs from the list, then I do not have to delete the field.

I think there is an overflow. Help please

Bruno17 commented 6 years ago

could you post your configs?

systemshock89 commented 6 years ago

In this screenshot structure my MIGX 2018-02-01_10-47-09

Bruno17 commented 6 years ago

I need also the other formtabs (only the exported formtabs) to reproduce the error

systemshock89 commented 6 years ago

Hello! I edited json configs to make it easier to do import configs. All configs in this zip file in json format: https://yadi.sk/d/QrXHfUrS3S7PEb

components.generator.json - This migx with multiple tabs

gallery.json - gallery multi tabs gallery_item.json - gallery item

other tabs: text_block1.json text_block2.json text_block3.json

systemshock89 commented 6 years ago

If in "components.generator" add item "gallery" and save resourse, I see error: ext-all.js:40829 Uncaught TypeError: Cannot read property 'length' of undefined

2018-02-05_17-03-21

systemshock89 commented 6 years ago

If add console.log(value), that see last of value "undefined"

2018-02-05_17-05-14

systemshock89 commented 6 years ago

if I comment output of the conditions in the screenshot, then the resource will be saved, but I want the right solution to this problem

2018-02-05_17-08-13