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

PyQgis: OriginJoin fields arte not present into QgsLayerVector QgsFields container for GeoPackage layer. #36977

Closed
wlorenzetti opened this issue Jun 4, 2020 · 6 comments
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@wlorenzetti
Copy link

Describe the bug

Into QgsVectorLayer.fields() of GeoPackage are not present OriginJoin fields but only strict layer's fields.
Attached a project example with few simple data: layer 'poligoni' join with 'info' alphanumeric layer.

gpkg_test.zip

How to Reproduce

QGIS and OS versions

Qgis 3.10.6 on Ubuntu 18.04.3

Additional context

@wlorenzetti wlorenzetti added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jun 4, 2020
@elpaso elpaso self-assigned this Jun 5, 2020
@elpaso
Copy link
Contributor

elpaso commented Jun 5, 2020

@wlorenzetti I cannot find any join configured in the project:

immagine

did you upload the wrong project?

@elpaso elpaso added the Feedback Waiting on the submitter for answers label Jun 5, 2020
@wlorenzetti
Copy link
Author

@elpaso sorry this is correct
bug_geopackage.zip

@elpaso
Copy link
Contributor

elpaso commented Jun 5, 2020

Cannot reproduce on master, I'll check 3.10

immagine

@elpaso elpaso removed the Feedback Waiting on the submitter for answers label Jun 5, 2020
@wlorenzetti
Copy link
Author

@elpaso I just checked on 3.10 and it works ... I found this problem using QGIS api outside pyconsole.

@elpaso
Copy link
Contributor

elpaso commented Jun 5, 2020

@wlorenzetti please provide a standalone script to reproduce the issue or I don't really know what we can do.

@elpaso elpaso added the Feedback Waiting on the submitter for answers label Jun 5, 2020
@elpaso
Copy link
Contributor

elpaso commented Jun 5, 2020

cannot reproduce, seems a local scripting issue

@elpaso elpaso closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

2 participants