1

Topic: Problem with verification

I have a verification page set up (the Verification 3 report) and I have added a couple of verifiers - one for birds and one for mammals.

When they visit the verification page they can see all the correct records that I expect them to. They can also click "verify" and subsequently "verify and save" and the record disappears from the grid as expected. The problem is that when I check the records through "explore > all records" the records appear as unverified. Also when they reach the last record on the verification grid and verify it, all the records reappear that should all now be marked as verified.

I am thinking this is some sort of setting or permission that I have overlooked and cannot find as my full admin account can successfully verify records.

The iForm module is up to date as of the last update John sent me a couple of weeks ago.

Any help will be greatly appreciated.

Many thanks,
Fiona

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

2

Re: Problem with verification

I have a further bug which a colleague has just found. She has set up a new account and filled in her preferences for area and species groups she is interested in. She is not set as a verifier but on the My Account > View page there is a note to say her Species Group for Verification is Amphibians. This shouldn't appear as she has not be set a a verifier nor have any species groups been chosen in that section.

I think there might be gremlins in my website!!

F

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

3

Re: Problem with verification

Hi Fiona,
That's weird, but as I've not seen this happen elsewhere its going to be pretty difficult to track down unless you can work out how to reproduce it. Let me know if you think of anything,
Regards
John

John van Breda
Biodiverse IT

4

Re: Problem with verification

Hi John,
do you mean about both problems? The second problem is something odd that I can live with at the moment. However, the first means that the whole verification side of the site doesn't work unless an administrator is doing the verifying. I've no idea where to start with tracking down this problem. Could I have corrupted the MySQL DB sitting behind my site or is that setting all controlled within the warehouse?
Fiona

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

5

Re: Problem with verification

Hi Fiona

A couple of thoughts.
Is your EasyLogin module up to date?
If you give your Drupal admin user the same EasyLogin expertise as your bird verifier, can admin still verify successfully?

Jim Bacon.

6

Re: Problem with verification

Hi Jim,
I just set my admin user to be able to verify bird records only. Then tried verifying a record which was successful.

I haven't updated my EasyLogin module recently (I'm ashamed to say I hadn't even thought of that) so I'll try that this afternoon and see if it solves the problem.

Many thanks,
Fiona

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

7

Re: Problem with verification

Hi

In particular, there was a bug fixed in r5476 which I think it is important for you to have. As well as updating the module, afterwards try editing the verifiers profiles, checking the permissions you have assigned to them, and saving. Hope you see some improvement.

Jim.

8

Re: Problem with verification

Hi Jim,
I've just updated all the Indicia_Features, ran updates, flushed all caches and edited verification settings for my colleague who is the mammal verifier. Then got her to verify a record but alas the record remains unverified. I don't know if there would be a evidence on the warehouse of any updates happening to the record but the ID is 421096... doubtful since the verification isn't persisting.
Ho hum :(

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

9

Re: Problem with verification

Hi Fiona,

Pity!

Next thing I would do is use a browser debugger (Firefox + Firebug for me) to examine the network traffic when doing a verify, comparing the admin and non-admin accounts. Does the non-admin account send anything? If so, what is the server response? Are there any JavaScript errors?

If you want, you could set up an account for me as a mammal verifier and I could check this for you.

A tip - the Drupal Masquerade module allows you to impersonate other users so you can pretend to be the mammal verifier.

Jim.

10

Re: Problem with verification

Thanks Jim, I've sent you login details and also taken a note of that module - sounds like a great one!
Fiona

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

11

Re: Problem with verification

Hi Fiona

When I try to verify I post the following:

occurrence:id    421096
occurrence:record_status    V
occurrence:verified_by_id    2
occurrence_comment:commen...    Verified. First attempt to verify by Jim. Expected to fail
occurrence_comment:person...    jim.bacon
website_id    29

To which the server responds

{error:"iform_ajaxproxy Error: User does not have permission to save data via the proxy."}

This tells me that you have not given the verifier the "IForm AJAX Proxy passthrough" permission in Drupal. Tick that box and it should burst in to life.

Jim Bacon.

12

Re: Problem with verification

Oh you absolute star!!! That has fixed it. I hadn't changed any of the permissions to do with what the verifier could and could not do - just gone with the defaults. I would never, ever have solved that one.

I could hug you!!!

Thanks :)

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar