- 
                Notifications
    You must be signed in to change notification settings 
- Fork 12
Open
Description
Hi!
So I have a layer (postgresql view) that has a few fields and they all are filled by a trigger in database. In the QGIS project I have all the fields set to hidden so I can insert features without inputing any fields (the trigger handles them).
I'm trying to do this in QWC2 via the Editing plugin and I have a few problems:
- I can insert features but when I commit the screen goes white and it gives me an error like Uncaught TypeError: id is null
- When I go to select a feature to update it, it detects a lot of the neighbouring features, not just the one I clicked. I don't know if it's intended or it's a bug or something I'm doing wrong, but it seems to me that the Editing plugin doesn't manage the zoom level properly.
- Also, if the id is hidden, the combobox with all the features that it found is full of empty strings, although they are properly managed as I can see the highlight on the map.
- If I try to update a feature (its geometry) it gives me the error ERROR: source for a multiple-column UPDATE item must be a sub-SELECT or ROW() expression, which I'm guessing is solved with the last commit.
Just so you know, I'm using the docker image: sourcepole/qwc-data-service:v2023.1-lts and the latest commit of qwc2 for the app.
Please, let me know if you need more details.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels