PouchDB View does not show bindings below data element

Wappler Version: Wappler 6 Beta 15 & 5.8.2
Operating System: Windows 11
Server Model: Capacitor
Database Type: Pouch/Sqlite
Hosting Type: n/a

Expected behavior

I should see the table fields/columns for the database collection related to the PouchDB view

Here’s the data elements I expect to see

Actual behavior

There are no items below data

Here’s the log directly after clicking on App Connect Expression Data Binding.

[2023-11-03 19:58:42.150] run UNLOAD app connect pickup ....
[2023-11-03 19:58:42.273] START dataBindingsPickup fieldName= insp_dataBinding
[2023-11-03 19:58:42.598] NW PRELOAD script ....
[2023-11-03 19:58:42.598] IS_BETA=true
[2023-11-03 19:58:42.692] PICKUP init!
[2023-11-03 19:58:42.693] ACTIONS_BASE_PATH=null
[2023-11-03 19:58:42.693] EXPRESSION={{thread.data.messages[0].payload.headers.where(`name`, 'From', '==')[0].value.split('<')[0].replace('"','')}}
[2023-11-03 19:58:42.693] ENCLOSE=true
[2023-11-03 19:58:42.693] BASE_PATH=threads.if
[2023-11-03 19:58:42.693]  BASE_PATH=threads.if
[2023-11-03 19:58:42.709] START PICKER initTree
[2023-11-03 19:58:42.714] APP_CONNECT: LOAD RULES
[2023-11-03 19:58:42.718] The vm module of Node.js is deprecated in the renderer process and will be removed.
[2023-11-03 19:58:42.802] APP_CONNECT: Parse all rules...
[2023-11-03 19:58:42.802] load custom app connect extensions
[2023-11-03 19:58:42.817] START detectUsedFrameworks
[2023-11-03 19:58:43.108] org expression = thread.data.messages[0].payload.headers.where(`name`, 'From', '==')[0].value.split('<')[0].replace('"','')
[2023-11-03 19:58:43.108] get from js
[2023-11-03 19:58:43.116] not selected try first ...
[2023-11-03 19:58:46.052] BASE_PATH=threads.if
[2023-11-03 19:58:46.053] selectedPath=emails.data[0]
[2023-11-03 19:58:46.053] localPath=emails.data[0]
[2023-11-03 19:58:46.053] relPath=emails.data[0]

This is related to:

If the schema is not available than so are also not the data bindings

I’m able to insert data into the pouchdb/indexdb database, so there is a schema somewhere. :slight_smile:

Actually PouchDB is fully schemaless. We just define schema in Wappler to be able to populate the date pickers only.

Right, but in the context of the data pickers/bindings we should see the schema?

Is this still happening in Wappler 6 RC 1?

Yes. Got a bonus bug (Expression Builder blank) in this video. :slight_smile: