π Bug: External data source (PostgreSQL) not editable after creation
Please confirm if bug report does NOT exist already ?
- [X] I confirm there is no existing issue for this
Steps to reproduce ?
- Setup NocoDB with SQLite as its own DBMS.
- Create a new base via NocoDB's UI.
- Add an external PostgreSQL data source to the newly created base.
- Try to edit the external PostgreSQL data source by clicking on its "edit" button. The edit dialogue immediately vanishes and the error message
Something went wrong. Please reload the page if page is not functioning properly.is displayed.
Desired Behavior
The edit dialogue should show without an error.
Project Details
Node: v20.11.1 Arch: x64 Platform: linux Docker: false RootDB: sqlite3 PackageVersion: 0.204.3
Attachments
@salim-b It worked fine on my localhost development environment. We would need your help to sort this out
- If there are any errors on the browser console or on the server, retrieve it for us
- Node version, I am on v18.14.0; PG on 14.7. just for the record, am not sure if it will have an impact here.
Sorry, I didn't check the browser console. The following two messages are printed in Firefox when clicking the PG data source's "edit" button:
Error in parsing value for βwidthβ. Declaration dropped.
UI ERROR Error: please transfer a valid name path to validate!
Or as a screenshot (expanded):
I don't see any related messages on the NocoDB server's console[^serv]. Are there other (NocoDB-specific) logs I need to check?
[^serv]: I'm running the official Docker image as a VM on Fly.io with NocoDB's SQLite DB "litestreamed" to an object storage service, without any other persistent storage set up. The PosgreSQL DB connected as external data source is a Neon.tech instance running PostgreSQL 16.2 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit.
Update: With NocoDB v204.4, the error message from the browser console is now conveyed to the NocoDB user in a dialogue saying "Oops! Something unexpected happened :/" with the following details:
message: please transfer a valid name path to validate!
de@https://example.com/dashboard/_nuxt/index.B1qgAmjN.js:1:5735
f@https://example.com/dashboard/_nuxt/index.B1qgAmjN.js:1:6525
j@https://example.com/dashboard/_nuxt/index.B1qgAmjN.js:1:6956
L@https://example.com/dashboard/_nuxt/index.B1qgAmjN.js:1:7954
$@https://example.com/dashboard/_nuxt/index.B1qgAmjN.js:1:8569
vs@https://example.com/dashboard/_nuxt/entry.B3TBl9q2.js:1:14878
Ko@https://example.com/dashboard/_nuxt/entry.B3TBl9q2.js:1:14959
D@https://example.com/dashboard/_nuxt/entry.B3TBl9q2.js:1:25671
vs@https://example.com/dashboard/_nuxt/entry.B3TBl9q2.js:1:14886
IT@https://example.com/dashboard/_nuxt/entry.B3TBl9q2.js:1:16561
(I replaced the actual domain with example.com.)
thanks @salim-b! we will look into it ..
Data sources UI was overhauled recently, but issue is still present in latest NocoDB v0.207.2 when navigating to base β ... β Settings β Data Sources β data source β Connection Details.
Same error message:
message: please transfer a valid name path to validate!
de@https://example.com/dashboard/_nuxt/zUoyaCGf.js:1:5554
f@https://example.com/dashboard/_nuxt/zUoyaCGf.js:1:6344
j@https://example.com/dashboard/_nuxt/zUoyaCGf.js:1:6775
L@https://example.com/dashboard/_nuxt/zUoyaCGf.js:1:7773
$@https://example.com/dashboard/_nuxt/zUoyaCGf.js:1:8388
Gs@https://example.com/dashboard/_nuxt/DJALOdOY.js:14:1375
ga@https://example.com/dashboard/_nuxt/DJALOdOY.js:14:1448
M@https://example.com/dashboard/_nuxt/DJALOdOY.js:14:12621
Gs@https://example.com/dashboard/_nuxt/DJALOdOY.js:14:1383
Ix@https://example.com/dashboard/_nuxt/DJALOdOY.js:14:3116
(Actual domain was replaced with example.com.)
Fixed here https://github.com/nocodb/nocodb/pull/8573