Open smusula opened 8 years ago
With Ona Collect, when using https://odk.ona.io/[formowner-username] , the account that the project was shared with, can be able to download the forms. Is this a bug or it was designed this way. On ODK Collect it works perfect.
It should be considered a bug since Ona Collect should work exactly the same as ODK Collect when Show shared forms is checked. @mberg can you confirm you did not define a different spec?
@rowo I changed the server url from https://odk.ona.io to https://ona.io and it worked as it should. Could also be an issue with the API
@rowo Here is the issue I created on core https://github.com/onaio/core/issues/801
That url needs to be checked again, and I would stick to odk.ona.io, ona.io as much as it is supposed to always work has a level of abstraction that has performance implications.
Because it works as it should with ODK Collect this sounds like a Collect issue not an API issue.
I think I misunderstood a previous comment from Jonathan. Seems like Peter is right — something on Ona Collect is off.
@rowo @pld When I use the KLL url (http://nhrpapi.cbs.gov.np/), it works perfect on Ona Collect as on ODK Collect. Am not saying there's nothing wrong with Ona Collect, but we also need to find out why its behaving this way. I did the QA on Ona Collect and it was working ok.
We had designed this to be this way. In ODK Collect if a user appends their username at the end of the url they can only see their forms and not forms shared with them. So the setting can be overridden since some of ODK Collect users where used to this way of filtering.
Confirmed this is a bug.
@imwongela - all forms that are shared with you. Not just the forms that are /mberg should show up.
Right now only the forms in my mberg project are visible if I sign in with mberg and have the server point to odk.ona.io. I think what you are saying would apply if the odk.ona.io/mberg is being used but in this case it's not.
I believe it was working properly in the earlier release of collect. So I think it's a result of some logic changing. @jmunene please call @imwongela to discuss
This is what happens:
Scenario One:
Scenario Two: