Databinding field error Bug Report #1741828247983

report1741828247639.zip (744.6 KB)

OS info

  • Operating System : Mac OSX 24.3.0
  • Wappler Version : 7.0.0-beta.20

Problem description

When opening data binding tool, sometimes code field appears next to design field. Any changes made from that point onwards aren't saved and in some cases data binding no longer trigger window popup or crashes wappler once data binding icon is clicked(however it didn't happen this time, therefore it's porbably not present in log).
Screenshot 2025-03-13 at 01.09.19

Steps to reproduce

  1. Opening data bindings can randomly trigger this, so it's quite difficult to tell how could this be reproduced

+1 on windows 11, can't reproduce it either, so no log at the moment

Actually, since it completely crashes wappler, the log simply isn't produces, and if I try to submit a log report I'm prompted with a pop up to restart wappler with logging, so I doubt we can even log it :smiley:

I have seen this several times....in my case it crashes wappler...i managed to eliminate it by switching to stable version and back to beta version...

Just restart wappler with logging, even when it crashes the log is created.

Theae crashing issues are still in beta 21...

Can confirm it does. Quite frequently, I've tried looking for the chrome-debug.log after crash but withouy any luck.

I guess that's where I get off wappler beta train and head back to 6.8 until it's fixed :saluting_face:

Reproduced:
image

Issue starts on:

[2025-03-13 17:21:21.010]

wappler_20250313_2.zip (4.0 KB)

A few more lines, now popup is useless, click on select and nothing happens:

[2025-03-13 17:26:12.862] got popup hide for PopupWindow_dataBindingsPickup
[2025-03-13 17:26:12.861] expression = {{'api_getuser.data.user'}}
[2025-03-13 17:26:14.900] got popup hide for PopupWindow_1741897287557
[2025-03-13 17:26:14.900] run UNLOAD Server Connect ....
[2025-03-13 17:26:14.913] SERVER CONNECT Unload DONE
[2025-03-13 17:26:15.208] got popup close for PopupWindow_1741897287557
[2025-03-13 17:26:15.208] destroy child window: PopupWindow_1741897287557
[2025-03-13 17:26:15.279] got child state on closed
[2025-03-13 17:26:15.286] Main window focused: 2
[2025-03-13 17:26:16.880] CALL NW window: file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/index.htm?theme=dark&app=true&noinit=true
[2025-03-13 17:26:16.881] OPEN popup: PopupWindow_1741897576880
[2025-03-13 17:26:16.893] web-contents-created window
[2025-03-13 17:26:16.920] GOT DID CREATE window
[2025-03-13 17:26:16.920] got child state: 9
[2025-03-13 17:26:17.523] NW PRELOAD script ....
[2025-03-13 17:26:17.524] IS_BETA=true
[2025-03-13 17:26:17.835] SERVER CONNECT: init
[2025-03-13 17:26:17.835] START inspectGlobalConfigFile
[2025-03-13 17:26:17.845] START getInitialLayout window width=1080
[2025-03-13 17:26:17.889] START initActionsTree
[2025-03-13 17:26:17.919] DONE Server Connect loadRules ...
[2025-03-13 17:26:20.727] AFTER TREE DATA:  [
  {
    id: 'global__meta',
    text: '<span style="color:var(--base0B, #a6e22e)">Input</span>',
    data: {
      actionData: [Object],
      fa: '<svg class="svg-inline--fa fa-chevron-double-right fa-w-16 fa-lg comp-data" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-chevron-double-right"/>\n' +
        '        </svg>'
    },
    type: 'meta',
    children: [ [Object] ]
  },
  {
    id: 'j1_3',
    text: '<span>Execute</span>',
    data: {
      required: true,
      fa: '<svg class="svg-inline--fa fa-cube fa-w-16 fa-lg comp-exec" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-cube"/>\n' +
        '        </svg>',
      actionData: [Object]
    },
    type: 'main',
    children: []
  }
]
[2025-03-13 17:26:20.727] pickupName=dmxAppConnect/pickup.htm
[2025-03-13 17:26:20.730] PICKUP init!
[2025-03-13 17:26:20.730] ACTIONS_BASE_PATH=flow1
[2025-03-13 17:26:20.730] EXPRESSION=api_getuser.data.user
[2025-03-13 17:26:20.730] ENCLOSE=template
[2025-03-13 17:26:20.731] BASE_PATH=flow1
[2025-03-13 17:26:20.731]  BASE_PATH=flow1
[2025-03-13 17:26:20.731] org expression = api_getuser.data.user
[2025-03-13 17:26:20.731] get from dynamic
[2025-03-13 17:26:20.738] >>>>> got popup show for PopupWindow_dataBindingsPickup at 1382 x 235
[2025-03-13 17:26:20.739]   show popup window...
[2025-03-13 17:26:20.774] START detectUsedFrameworks
[2025-03-13 17:26:20.938] tree refreshed
[2025-03-13 17:26:23.484] org expression = api_getuser.data.user
[2025-03-13 17:26:23.484] get from js
[2025-03-13 17:26:23.485] Tagify:  input element is already Tagified {
  tagifyValue: 'api_getuser.data.user',
  orgValue: 'api_getuser.data.user'
}

[2025-03-13 17:28:35.305] got popup hide for PopupWindow_dataBindingsPickup
[2025-03-13 17:28:36.535] got popup hide for PopupWindow_1741897576880
[2025-03-13 17:28:36.535] run UNLOAD Server Connect ....
[2025-03-13 17:28:36.544] SERVER CONNECT Unload DONE
[2025-03-13 17:28:36.843] got popup close for PopupWindow_1741897576880
[2025-03-13 17:28:36.844] destroy child window: PopupWindow_1741897576880
[2025-03-13 17:28:36.915] got child state on closed
[2025-03-13 17:28:36.927] Main window focused: 2
[2025-03-13 17:28:48.400] CALL NW window: file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/index.htm?theme=dark&app=true&noinit=true
[2025-03-13 17:28:48.401] OPEN popup: PopupWindow_1741897728400
[2025-03-13 17:28:48.412] web-contents-created window
[2025-03-13 17:28:48.437] GOT DID CREATE window
[2025-03-13 17:28:48.438] got child state: 11
[2025-03-13 17:28:48.985] NW PRELOAD script ....
[2025-03-13 17:28:48.985] IS_BETA=true
[2025-03-13 17:28:49.253] SERVER CONNECT: init
[2025-03-13 17:28:49.254] START inspectGlobalConfigFile
[2025-03-13 17:28:49.264] START getInitialLayout window width=1080
[2025-03-13 17:28:49.308] START initActionsTree
[2025-03-13 17:28:49.343] DONE Server Connect loadRules ...
[2025-03-13 17:28:52.676] AFTER TREE DATA:  [
  {
    id: 'global__meta',
    text: '<span style="color:var(--base0B, #a6e22e)">Input</span>',
    data: {
      actionData: [Object],
      fa: '<svg class="svg-inline--fa fa-chevron-double-right fa-w-16 fa-lg comp-data" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-chevron-double-right"/>\n' +
        '        </svg>'
    },
    type: 'meta',
    children: [ [Object] ]
  },
  {
    id: 'j1_3',
    text: '<span>Execute</span>',
    data: {
      required: true,
      fa: '<svg class="svg-inline--fa fa-cube fa-w-16 fa-lg comp-exec" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-cube"/>\n' +
        '        </svg>',
      actionData: [Object]
    },
    type: 'main',
    children: []
  }
]
[2025-03-13 17:28:52.677] pickupName=dmxAppConnect/pickup.htm
[2025-03-13 17:28:52.679] PICKUP init!
[2025-03-13 17:28:52.679] ACTIONS_BASE_PATH=flow1
[2025-03-13 17:28:52.679] EXPRESSION=api_getuser.data.user
[2025-03-13 17:28:52.679] ENCLOSE=template
[2025-03-13 17:28:52.679] BASE_PATH=flow1
[2025-03-13 17:28:52.679]  BASE_PATH=flow1
[2025-03-13 17:28:52.686] Unhandled rejection TypeError: Cannot read properties of undefined (reading 'input')
    at Tagify.bindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1208:26)
    at Tagify.unbindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1224:30)
    at Tagify.destroy (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:2259:32)
    at setInitValue (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:836:14)
    at initUI (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:487:7)
    at dmxDWApiBridge.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:25404)
    at e.dmxDWApiCallJsBridgingFunction (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:295)
    at Object.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxDWApi.js:1:7809)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/dmxConnect_utils.js:2151:20
    at r (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:31:10952)
    at i._settlePromiseFromHandler (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:15746)
    at i._settlePromise (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:16549)
    at i._settlePromise0 (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:17250)
    at i._settlePromises (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:18605)
    at c (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1530)
    at a (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1469)
    at r._drainQueues (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:2484)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1211
[2025-03-13 17:28:53.799] AFTER TREE DATA:  [
  {
    id: 'global__meta',
    text: '<span style="color:var(--base0B, #a6e22e)">Input</span>',
    data: {
      actionData: [Object],
      fa: '<svg class="svg-inline--fa fa-chevron-double-right fa-w-16 fa-lg comp-data" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-chevron-double-right"/>\n' +
        '        </svg>'
    },
    type: 'meta',
    children: [ [Object] ]
  },
  {
    id: 'j1_3',
    text: '<span>Execute</span>',
    data: {
      required: true,
      fa: '<svg class="svg-inline--fa fa-cube fa-w-16 fa-lg comp-exec" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-cube"/>\n' +
        '        </svg>',
      actionData: [Object]
    },
    type: 'main',
    children: []
  }
]
[2025-03-13 17:28:53.799] pickupName=dmxAppConnect/pickup.htm
[2025-03-13 17:28:53.801] PICKUP init!
[2025-03-13 17:28:53.802] ACTIONS_BASE_PATH=flow1
[2025-03-13 17:28:53.802] EXPRESSION=api_getuser.data.user
[2025-03-13 17:28:53.802] ENCLOSE=template
[2025-03-13 17:28:53.802] BASE_PATH=flow1
[2025-03-13 17:28:53.802]  BASE_PATH=flow1
[2025-03-13 17:28:53.806] Unhandled rejection TypeError: Cannot read properties of undefined (reading 'input')
    at Tagify.bindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1208:26)
    at Tagify.unbindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1224:30)
    at Tagify.destroy (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:2259:32)
    at setInitValue (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:836:14)
    at initUI (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:487:7)
    at dmxDWApiBridge.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:25404)
    at e.dmxDWApiCallJsBridgingFunction (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:295)
    at Object.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxDWApi.js:1:7809)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/dmxConnect_utils.js:2151:20
    at r (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:31:10952)
    at i._settlePromiseFromHandler (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:15746)
    at i._settlePromise (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:16549)
    at i._settlePromise0 (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:17250)
    at i._settlePromises (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:18605)
    at c (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1530)
    at a (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1469)
    at r._drainQueues (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:2484)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1211
[2025-03-13 17:28:54.050] AFTER TREE DATA:  [
  {
    id: 'global__meta',
    text: '<span style="color:var(--base0B, #a6e22e)">Input</span>',
    data: {
      actionData: [Object],
      fa: '<svg class="svg-inline--fa fa-chevron-double-right fa-w-16 fa-lg comp-data" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-chevron-double-right"/>\n' +
        '        </svg>'
    },
    type: 'meta',
    children: [ [Object] ]
  },
  {
    id: 'j1_3',
    text: '<span>Execute</span>',
    data: {
      required: true,
      fa: '<svg class="svg-inline--fa fa-cube fa-w-16 fa-lg comp-exec" style="" role="img">\n' +
        '          <use href="#fa-symbol-fas-cube"/>\n' +
        '        </svg>',
      actionData: [Object]
    },
    type: 'main',
    children: []
  }
]
[2025-03-13 17:28:54.051] pickupName=dmxAppConnect/pickup.htm
[2025-03-13 17:28:54.052] PICKUP init!
[2025-03-13 17:28:54.053] ACTIONS_BASE_PATH=flow1
[2025-03-13 17:28:54.053] EXPRESSION=api_getuser.data.user
[2025-03-13 17:28:54.053] ENCLOSE=template
[2025-03-13 17:28:54.053] BASE_PATH=flow1
[2025-03-13 17:28:54.053]  BASE_PATH=flow1
[2025-03-13 17:28:54.057] Unhandled rejection TypeError: Cannot read properties of undefined (reading 'input')
    at Tagify.bindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1208:26)
    at Tagify.unbindGlobal (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:1224:30)
    at Tagify.destroy (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/tagify.js:2259:32)
    at setInitValue (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:836:14)
    at initUI (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/pickup.htm?theme=dark&app=true&noinit=true:487:7)
    at dmxDWApiBridge.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:25404)
    at e.dmxDWApiCallJsBridgingFunction (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:1:295)
    at Object.showPopup (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxDWApi.js:1:7809)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/dmxConnect_utils.js:2151:20
    at r (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:31:10952)
    at i._settlePromiseFromHandler (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:15746)
    at i._settlePromise (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:16549)
    at i._settlePromise0 (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:17250)
    at i._settlePromises (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:30:18605)
    at c (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1530)
    at a (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1469)
    at r._drainQueues (file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:2484)
    at file:///C:/Users/franc/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/jQuery/bluebird.min.js:29:1211

Don't know if there's some workaround but found v21 so difficult to use because of this..
We are only a few people with this issue?

Have to downgrade to v20 :frowning:

Seeing it on my end as well. Started with Beta 19, disappeared in 20, and now back in 21.

1 Like

I can see it on v20 too :frowning:

Yup. Only there was an archive of previous versions, Iā€™d swap back to 18. Forced to use 6.8 for now :man_facepalming: and the loss of search and collapse function is killing me

Found the issue. It was Mac specific and will be solved in the next update

1 Like

Hello @George thanks

This will be solved on Windows too?

On Windows here myself as well. Doesn't seem to be mac specific

There were few different issues reported here.

We will try to solve them all, so also the code only field

The main issue is that databinding popup is enterily broken..
It works, then it brakes, and then it won't open..

Let me do some screen recording with a new log so you can track the exact moment looking the time on the video

1 Like

Sadly can't track the clicks, but select button fails at second attempt, and lightning icon too..

PS: I can see some dmxRoot_ reference there..

wappler_20250315_1.zip (4.2 KB)

2 Likes