Unable to access Capacitor SQLite Custom Query in Page Flow (W5.8.2)

Wappler Version: 5.8.2
Operating System: Windows 11

Expected behavior

Custom Query dialog should show after clicking the Build Query button

Actual behavior

The Database Custom Query model is blank and There is no serverType defined error is thrown.

[2023-11-16 09:17:04.997] OPEN popup: PopupWindow_1700144224994
[2023-11-16 09:17:04.997] save window state, type=databaseCustomQuery
[2023-11-16 09:17:04.993] CALL NW window: file:///C:/Users/Keith/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/commands/dmxDatabaseCustomQuery.htm?theme=dark&app=true&noinit=true
[2023-11-16 09:17:05.027] got child state: 5
[2023-11-16 09:17:05.208] NW PRELOAD script ....
[2023-11-16 09:17:05.208] IS_BETA=false
[2023-11-16 09:17:05.353] initUI - Database Custom Query
[2023-11-16 09:17:05.353] args= {
  property: {
    name: 'defineQuery',
    optionName: 'sql',
    title: 'Build Query',
    type: 'button',
    required: true,
    command: 'dmxDatabaseCustomQuery',
    commandNameParameter: 'databaseAction',
    dialogTitle: 'Database Custom Query',
    dialogType: 'databaseCustomQuery',
    dialogWidth: 950,
    dialogHeight: 600,
    value: '',
    actionType: 'capacitor_sqlite_custom_query',
    actionData: {
      name: 'qeury3',
      module: 'Capacitor.sqlite',
      action: 'custom',
      options: [Object],
      output: true,
      actionChanged: true,
      linkFiles: [Array]
    },
    allValues: [],
    _fieldName: 'defineQuery'
  },
  serverType: null,
  dialogTitle: 'Database Custom Query',
  dialogType: 'databaseCustomQuery',
  dialogWidth: 950,
  dialogHeight: 600,
  data: {
    actionList: {
      settings: [Object],
      meta: [Object],
      exec: [Object],
      includeComponents: [Object],
      appPlugins: [Array]
    },
    actionsType: null,
    basePath: '',
    isParentRepeat: null,
    serverType: null
  },
  action: 'new'
}
[2023-11-16 09:20:03.530] got popup close for PopupWindow_1700144224994
[2023-11-16 09:20:03.590] got child state on closed

How to reproduce

Create a Page Flow and add Capacitor SQLite Custom Query action, then click Build Query

This is still broken in W6 RC1.

[2023-11-16 13:13:43.265] OPEN popup: PopupWindow_1700158423265
[2023-11-16 13:13:43.265] CALL NW window: file:///C:/Users/Keith/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxServerConnect/index.htm?theme=dark&app=true&noinit=true
[2023-11-16 13:13:43.283] got child state: 7
[2023-11-16 13:13:43.428] NW PRELOAD script ....
[2023-11-16 13:13:43.428] IS_BETA=false
[2023-11-16 13:13:43.588] SERVER CONNECT: init
[2023-11-16 13:13:43.590] START getInitialLayout window width=1350
[2023-11-16 13:13:43.603] START initActionsTree
[2023-11-16 13:13:43.618] The vm module of Node.js is deprecated in the renderer process and will be removed.
[2023-11-16 13:13:43.622] DONE Server Connect loadRules ...
[2023-11-16 13:13:43.660] ready.jstree
[2023-11-16 13:13:46.463] OPEN popup: PopupWindow_1700158426464
[2023-11-16 13:13:46.482] got child state: 9
[2023-11-16 13:13:46.633] NW PRELOAD script ....
[2023-11-16 13:13:46.634] IS_BETA=false
[2023-11-16 13:13:46.660] CONTEXT init!
[2023-11-16 13:13:49.884] got popup close for PopupWindow_1700158426464
[2023-11-16 13:13:49.883] run UNLOAD context pickup ....
[2023-11-16 13:13:49.944] got child state on closed
[2023-11-16 13:13:49.958] validate error: field "queryName" is required
[2023-11-16 13:13:52.525] validate error: field "queryName" is required
[2023-11-16 13:13:52.526] END SET VALUE
[2023-11-16 13:13:54.799] validate error: field "defineQuery" is required
[2023-11-16 13:13:54.799] END SET VALUE
[2023-11-16 13:13:55.359] OPEN popup: PopupWindow_1700158435360
[2023-11-16 13:13:55.360] CALL NW window: file:///C:/Users/Keith/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/commands/dmxDatabaseCustomQuery.htm?theme=dark&app=true&noinit=true
[2023-11-16 13:13:55.378] got child state: 11
[2023-11-16 13:13:55.518] NW PRELOAD script ....
[2023-11-16 13:13:55.519] IS_BETA=false
[2023-11-16 13:13:55.570] initUI - Database Custom Query
[2023-11-16 13:13:58.821] got popup close for PopupWindow_1700158435360
[2023-11-16 13:13:58.822] unloadUI - dialogs common
[2023-11-16 13:13:58.887] got child state on closed

This should be now fixed in Wappler 6 RC2

@Teodor @George Still broken in W5.8.2.

Yes, the fixes are coming only in the latest version of Wappler.

Wappler 6 will be released as final and stable tomorrow.

1 Like

This topic was automatically closed after 27 hours. New replies are no longer allowed.