kartoza / Woolpert

Repo for the Woolpert project
1 stars 3 forks source link

Feature attribute table not loading #88

Closed BooyeWLP closed 1 year ago

BooyeWLP commented 1 year ago

image It looks like this is the issue on all layers except for powerplants

Additionally on Powerlines, there is no popup when clicking on a line: image

NyakudyaA commented 1 year ago

@BooyeWLP Did you perhaps change the layer definition in the DB, This will cause errors in GeoNode. If you made changes please let me know which layers have been modified so that I can update them.

The error you get is

'Failed to run GetFeatureInfo on layer geonode:powerline\nRendering process failed. Layers: geonode:powerline\njava.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: column "all_countries" does not exist\n  Position: 85\nERROR: column "all_countries" does not exist\n  Position: 85'
BooyeWLP commented 1 year ago

Thanks @NyakudyaA there were a couple of changes that we made, I just sent the document to Luna, I'll forward to you as well if you weren't copied

NyakudyaA commented 1 year ago

@BooyeWLP This is fixed. Next time when the structure of the table changes you will need to let us know or we can document what needs to be done to reload the table structure

NyakudyaA commented 1 year ago

This is fixed

BooyeWLP commented 1 year ago

Thanks Admire, I can see the popups of the features now, however the attribute tables still don't want to load

NyakudyaA commented 1 year ago

How are you viewing the attribute table image

BooyeWLP commented 1 year ago

Hmmm I'm trying to open it from the datalist:

image

image

NyakudyaA commented 1 year ago

I can access them, what user are you using? It might be a permission issue.

BooyeWLP commented 1 year ago

That's strange, I'm using woolpert_user

NyakudyaA commented 1 year ago

I will test with that user and see if it's a permission issue

BooyeWLP commented 1 year ago

Hi @NyakudyaA have you had any luck with this, I see we can still not see the attributes on a lot of layers (looks like we can only view powerplants)

NyakudyaA commented 1 year ago

Let me login and test with the user, will revert soon

NyakudyaA commented 1 year ago

@BooyeWLP This is a permission issue, I fixed this before and now it has reverted. Can we standardize what kind of permission you need here?

The issue was fixed here https://github.com/kartoza/Woolpert/issues/73

Can we agree on a proper permission matrix here? image

I suggest we standardize and remove all the test groups and apply the following rules

cc @EliVolsch If they are any other permission issue please comment them here and we can fix this in one go

EliVolsch commented 1 year ago

@NyakudyaA I agree on adding all registered member to the ecowas group. We would need to have a discussion on permission matrix so we can fine tune which groups should be able to see what.

I have checked the layer using woolpert_user account and it seems like everything is working as expected. If any more permission issues pop up i will comment here. image

BooyeWLP commented 1 year ago

Hi @NyakudyaA @EliVolsch , it looks like the WAPP members also didn't have access to view the attributes, however I changed it but now they have edit and download rights.

Is there a way to change the viewer roles to having access to viewing the attributes as well? - but not download or edit

NyakudyaA commented 1 year ago

Yes, I will look at it and adjust

NyakudyaA commented 1 year ago

This is fixed and working properly Peek 2023-09-18 12-44