Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Digitizing Spatial Unit Saved in Qgs Project #366

Open
gkahiu opened this issue May 7, 2019 · 1 comment
Open

Error on Digitizing Spatial Unit Saved in Qgs Project #366

gkahiu opened this issue May 7, 2019 · 1 comment
Labels

Comments

@gkahiu
Copy link
Contributor

gkahiu commented May 7, 2019

A PostgreSQL error occurs when you try to save layer edits from a STDM layer that has been loaded from a previously saved Qgs project file.

Pre-condition - The layer/spatial entity must have at least one mandatory column.

Steps to reproduce the error:

  1. Save current project with an STDM spatial entity as one of the layers in the layers' panel;
    2.Restart QGIS and open the previously saved project file;
    3.Select the STDM spatial entity in the layers' panel, open an edit session and add a new feature. No need to log into STDM since the layer is already available from the project file;
  2. Upon completion of the digitization process (by right-clicking), the attribute form does not show (that's the 1st issue). Second, when you try to save the edit session, a PostgreSQL error is thrown most likely due to the attribute form not showing hence mandatory columns are not populated thereby violating PostgreSQL's not-null constraint
@gkahiu gkahiu added the bug label May 7, 2019
@gkahiu gkahiu assigned gkahiu and unassigned gkahiu May 7, 2019
@pgathogo
Copy link
Contributor

@gkahiu, I could not reproduce this issue on my setup, new features were saved correctly. The only thing that was consistent with your report is that the attribute form does not show, and I think its a good thing given that the user has not logged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants