Forum Menu - Click/Swipe to open
 

PM single recipient being duplicated

You have contributed 0.0% of this topic

Thread Tools
Appreciate
Topic Appreciation
abu mohammed
Rank Image
Ridhwan's avatar
Offline
Earth
49
Brother
160
Ridhwan's avatar
#1 [Permalink] Posted on 21st November 2018 08:42
80
When sending PM's, it's happened twice now that, a single message to a unique recipient shows as being sent multiple times in Outbox.

I'm not sure if for some reason it's inserting the same recipient into the To: field. I didn't check before clicking Send Private Message but quite certain I didn't type or select the recipient name more than once.

In any case it appears to be a glitch. The script should check for such duplication. For example, using foreach value check for duplication against all recipients array and remove any duplicates prior to invoking the send msg script.
report post quote code quick quote reply
+3 -0Like x 3
back to top
Rank Image
abu mohammed's avatar
London
20,713
Brother
6,854
abu mohammed's avatar
#2 [Permalink] Posted on 21st November 2018 09:16
I bought this issue up a few days ago with Admin and did a test. Alhumdulillah the test was normal.

However, can you confirm if my PM came through twice or once as I also saw it as sent in two boxes.

(On a side note, I think this is being caused due to an additional option Maulana created for CC'ing other members - or maybe it's not)
report post quote code quick quote reply
+1 -0Like x 1
back to top
Rank Image
Ridhwan's avatar
Offline
Earth
49
Brother
160
Ridhwan's avatar
#3 [Permalink] Posted on 21st November 2018 14:39
Just checked. It was twice - timestamped 19th November 2018 10:53am
report post quote code quick quote reply
+1 -0
back to top
Yasin's avatar
London, UK
5,601
Brother
271
Yasin's avatar
#4 [Permalink] Posted on 21st November 2018 20:01
Jazakallah.

I'm unable to duplicate this error. Maybe the following will help:

Which browser?
Which method to send? i.e. using the PM button, as a reply, as a quick reply to a received PM, manual?

PS. for single dimensional arrays array_unique is sufficient without foreach. I've just added this now as there was no check before whatsoever as the multiple sending feature was added recently and never checked since so hopefully this is the only issue. Jazakallah

Please let me know above answers still as it'll help
report post quote code quick quote reply
+1 -0Like x 1
back to top
Yasin's avatar
London, UK
5,601
Brother
271
Yasin's avatar
#5 [Permalink] Posted on 21st November 2018 20:04
Ignore the questions, I found why that was happening. When it's selected and typed it sends two. This issue should be gone now

Test 1: 2 sent to abu muhammad, 1 to Ridhwan
Test 2: 1 sent to both

So abu muhammad should have 3 new PM's and Ridhwan should have 2

If correct, do let me know. Jazakallah
report post quote code quick quote reply
No post ratings
back to top
Rank Image
abu mohammed's avatar
London
20,713
Brother
6,854
abu mohammed's avatar
#6 [Permalink] Posted on 21st November 2018 21:05
No pm received yet. No email notification, no pm notification (alert) either.
report post quote code quick quote reply
+1 -0
back to top
Rank Image
Ridhwan's avatar
Offline
Earth
49
Brother
160
Ridhwan's avatar
#7 [Permalink] Posted on 21st November 2018 22:06
Yasin wrote:
View original post


Just confirming that I've got both PM's @ 8:01 & 8:02
JazakAllahu khair for looking into this.
report post quote code quick quote reply
No post ratings
back to top
Rank Image
abu mohammed's avatar
London
20,713
Brother
6,854
abu mohammed's avatar
#8 [Permalink] Posted on 22nd November 2018 09:38
"Maulana wrote:
So abu muhammad should have 3 new PM's

Still no PM.
report post quote code quick quote reply
+1 -0
back to top
Yasin's avatar
London, UK
5,601
Brother
271
Yasin's avatar
#9 [Permalink] Posted on 23rd November 2018 03:07
I sent it to wrong person. Oops

wrong-am.JPG
Downloads: 14
    [31.65 kB]
report post quote code quick quote reply
+1 -0Winner x 1
back to top

 

Quick Reply

CAPTCHA - As you are a guest, you are required to answer the following:


In the above image: What colour is the text 'Remote' written in?