Wappler Version : v4.7.1
Operating System : MacOS
Server Model: NodeJS
Database Type: MSSQL
Hosting Type: Local Docker
Expected behavior
- After adding an
equal
condition to filter data by a $_GET variable, the query is expected to return data if condition is met. - Same error message when another table is joined to the main table (any Join type)
- The existing queries with the same setup are running without any error.
Actual behavior
The query fails with error status: 500. The message is as below:
select distinct [CustomerID] from [dbo].[tbl_customers] as [dbo.tbl_customers] where [dbo].[tbl_customers].[CustomerID] = @p0 - The multi-part identifier "dbo.tbl_customers.CustomerID" could not be bound.
How to reproduce
- Create a Multiple Records Query - Run query without adding any condition or a table join - No error message
- Add a condition - query fails
- Remove the condition and add a table join - query fails