Views not returning schema data

OS info

  • Operating System : Windows 10.0.22000
  • Wappler Version : 4.2.2
  • ASP.Net
  • IIS

Problem description

When I expand views, nothing is returned.

Steps to reproduce

  1. Expand a view

image
[2021-11-13 21:16:38.004] actionFilePath=file:///C:/###################################connection_######.json
[2021-11-13 21:16:42.263] START loadDatabaseConnection for connection_######
[2021-11-13 21:16:42.263] options: loadTable=undefined
[2021-11-13 21:16:42.263] options: noLock=true
[2021-11-13 21:16:42.264] load connection_###### from CACHE …
[2021-11-13 21:16:42.264] view not loaded yet - load: dbo.vw_customers
[2021-11-13 21:16:42.265] get knex dbType=mssql
[2021-11-13 21:16:43.506] START loadDatabaseConnection for connection_######
[2021-11-13 21:16:43.506] options: loadTable=undefined
[2021-11-13 21:16:43.506] options: noLock=true
[2021-11-13 21:16:43.506] load connection_###### from CACHE …
[2021-11-13 21:16:43.506] view not loaded yet - load: dbo.vw_card_orders
[2021-11-13 21:16:43.506] get knex dbType=mssql

DB connection is OK
image
image

Tables expand correctly
image

Also, not expanding within query builder.
image

Yes I have this issue as well.

I have the same issue. Sometimes if you refresh the schema for the database, or test the database connection it will work, but not all the time.

I listed the same issue a couple of weeks ago.

Glad I’m not the only one.

This is preventing me from continuing with my project updates because the views are not showing in the query builder.

Is it just the views? How are you connecting toMS SQL Server from Wappler?

See:

Hi George,

It’s just the Views. I am connecting to MS SQL Server via IP address.

Tables are OK.
image

Its Views that are not expanding. Here you can see I have a table expanded, but the Views below fail to expand.
image


And if you have a field from a view in your query and when you open your query, it will tell you that it can’t find that field in your database.

Bump. Any update on this bug? @patrick @George
Unable to work on SAs due to this. Really in need of a fix.

Even if I don’t set up a direct connection, when in query builder, the view does not expand, so not limited to the database manager.

This will be fixed in the next update. We have greatly improved MS SQL Server schema retrieval now.

2 Likes

This has been fixed in Wappler 4.3.1

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.