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

The plugin is failing when a collection lacks a title #241

Open
drnextgis opened this issue Aug 31, 2023 · 3 comments
Open

The plugin is failing when a collection lacks a title #241

drnextgis opened this issue Aug 31, 2023 · 3 comments

Comments

@drnextgis
Copy link

drnextgis commented Aug 31, 2023

A title is not a mandatory attribute.
image

@Samweli
Copy link
Collaborator

Samweli commented Sep 29, 2023

@drnextgis thanks for opening this, at the moment when a collection lacks a title the plugin defaults to use the collection's id which is a mandatory attribute. From the error above it seems the collections also lacks the id property.

@drnextgis
Copy link
Author

That is not right, the collection has id. It fails here because few lines above get_selected_collections method is called with title=True argument and as you can see here in this case id property is just ignored.

@Samweli
Copy link
Collaborator

Samweli commented Oct 2, 2023

That is not right, the collection has id. It fails here because few lines above get_selected_collections method is called with title=True argument and as you can see here in this case id property is just ignored.

Oh, you are right @drnextgis!

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

No branches or pull requests

2 participants