1 (edited by DaveSlade 29-03-2019 10:11:18)

Topic: Non unique email address

A user tried to create an account on SEWBReCORD yesterday and received this error:

Array ( [person:email_address] => This email address must be unique, i.e. not shared with another person. ) .

Is this new behaviour, and how does it work, as there does not appear to be a second account with the same email address on SEWBReCORD. I can give the email address in question directly if need, but I don't think it is appropriate to post it here. I should add that the there is no second account with the same address on SEWBReCORD, so it must be elsewhere in the iRecord world.

The thing is, we are promoting the LERC Wales app and to link it to their SEWBReCORD account the need to use the same email address (as far as I understand) to allow the accounts to be linked. If this is a recent change then it could undermine everything we've been telling people on how to use the system!
Best wishes,
Dsve

Dave Slade
Senior IT & Records Officer,
13 St Andrews Crescent, Cardiff, CF14 3DB
www.sewbrec.org.uk, www.sewbrecord.org.uk

2

Re: Non unique email address

Hi Dave,

My name is Andrew van Breda, I am John's brother and also an Indicia developer. I have seen this problem on the NPMS system I work on for BRC. The problem I have been experiencing is caused by the main database (The Warehouse) already containing an account with the same email address that is being entered, but is held in a different case.
As it is a Warehouse bug, the account does not need to be related to your SEWBReCORD project, it can be for another website sharing the Warehouse.

For example, the issue would happen in the following scenario:
Someone registers on iRecord with an email address of abc@test.com, but then tries to register on your project as ABC@test.com.
Part of the code thinks this is the same email address, and part of the code thinks it is a different one.

After seeing your message, I retested the problem and found it was no longer broken. I approached John about this and he said he had already noticed and fixed the problem just a few days back.
Given this, could you retry your situation, could you let me know if you have the same problem again so I can look into it, as in that case there might be a different bug.

3

Re: Non unique email address

Thanks Andrew (and John),
I'll try a test account and see if the problem recurs.
Best wishes,
Dave

Dave Slade
Senior IT & Records Officer,
13 St Andrews Crescent, Cardiff, CF14 3DB
www.sewbrec.org.uk, www.sewbrecord.org.uk