Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

NetcdfSubset didn't fire basic challenge when dataset is restricted #106

Closed
wants to merge 1 commit into from

Conversation

vegasm
Copy link
Contributor

@vegasm vegasm commented Mar 17, 2015

fd is null when a Feature type is not supported and when a dataset is restricted if the user is not logged in. Maybe the final solution is to split the behaviour in the Dataset service throwing like an Unauthenticated exception that can be catched by the controllers. This solution mentioned requires to modify all the controllers which use FeatureDatasetService in order to catch it.

Fixes #103

@JohnLCaron
Copy link
Collaborator

I was just working on this yesterday in 4.6.0. Have you tried that branch?

@vegasm
Copy link
Contributor Author

vegasm commented Mar 17, 2015

I haven't tried in 4.6.0. I've tried in 4.5.4 and 4.5.6 because are the versions deployed in the production server. Is that issue fixed in 4.6.0? I can test in that version in any case but it would be great to have a fix in 4.5.6.

@JohnLCaron
Copy link
Collaborator

4.5 is not a stable release, probably wont backport. 4.6.1 will be stable release soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants