Comments (4)
Hi @austinkloske22,
would be great if you can create a test case that can be replicated with our beer shop example data. For a quick start you could create a pull request with a sample REST client request added to the folder:
tests/assets/cap-proj/rest-client-test
Thanks
Gregor
from cds-pg.
Hi @austinkloske22,
please check my branch https://github.com/gregorwolf/cds-pg/tree/column-reference-ambiguous-246. I'm not able to replicate your issue. Please add your sample request that does show your issue in our data model.
from cds-pg.
@gregorwolf I apologize I've not been active on git and missed that you followed up on my issue. I will attempt to replicate the issue this week.
One challenge for me is that I froze my project(s) on older npm release because of the trouble I had building & deploying with newer cds-dbm releases. My project w/ column reference "id" is ambiguous issue is on releases:
"@sap/cds": "5.3.2"
,
"cds-dbm": "0.0.24"
,
"cds-pg": "0.0.41"
What releases should I be using and as a cds-pg community how do we know what versions match @sap/cds releases? Perhaps my issue doesn't even exists when using the latest sap/cds release.
What release levels do you want me to replicate on? pg-beershop does not deploy to docker on the current repos version levels. I see there haven't been a new cds-dbm release on npm for 6 months.
from cds-pg.
@gregorwolf - this issue has been resolved in one of the newer releases. In order to deploy pg-beershop and create the DB, I needed to lower the npm releases to:
"@sap/cds": "5.3.2",
"cds-dbm": "0.0.24",
"cds-pg": "0.0.41"
able to replicate:
http://localhost:4004/beershop/Breweries(0465e9ca-6255-4f5c-b8ba-7439531f8d28)?$expand=beers($filter=ID%20eq%2008d5b3fb-549c-4be7-9ac8-e039d75823e7)
After created / deploying, I'm able to update the cds / dbm, pg releases to newer releases the error does not occur. I need to get my cds, dbm, cds-pg versions updated. I'll close this issue.
"@sap/cds": "5.7.3",
"cds-dbm": "0.0.27",
"cds-pg": "0.1.16"
from cds-pg.
Related Issues (20)
- Invalid SQL query when Draft Entity make reference to other Draft Entity in OData call. HOT 3
- Vulnerability in momentjs 2.9.1 HOT 3
- Error upon modifying view in service HOT 1
- Strong security issue regarding indirect dependency to jsonwebtoken npm-module 8.x
- PATCH is executed on active entity for drafts with compositions HOT 3
- Error: [cds-dbm] - failed to load model undefined (STDERR, APP/TASK/deploy-to-postgresql)# HOT 2
- TypeError: Cannot read properties of undefined (reading 'definitions') HOT 4
- connection closed after each query
- Date conversion interprets timezone incorrectly
- Get request on entity not working
- Retain Column Name as case sensitive during deployment
- Wrong type cast of boolean HOT 1
- Query draft entities on db layer
- broken connectivity in 0.1.36 when using "cds watch" instead of "cds serve". using cap cds 6.6
- error: relation "[tablename]" does not exist
- duplicate key entry HOT 2
- cds-pg deploy fails with "Cannot find module '@sap/cds/lib/deploy'"
- Initial Release schedule?
- ERROR: syntax error at or near "LOCK" at character - STATEMENT: SELECT 1 FROM My_Type ALIAS_1 WHERE ( code = 1 ) LIMIT 1 FOR SHARE LOCK
- Query values must be an array ERROR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cds-pg.