By Josh Lewis on Friday, 18 April 2014
Posted in General Issues
Replies 9
Likes 0
Views 579
Votes 0
The Problem:

My Profile says "There are no activities here yet". After upgrading to ES 1.2.8, I looked at my profile at first which had all the activity intact. I know this because I used a stream item to take me to one of my albums.

The Cause:

It turns out there is a glitch when editing a group cover photo. When I edit a group cover photo, it clears out all the activity of that user! I tested this again with the stacked account which confirmed this. It had nothing to do with the album edits.

FTP/Admin login info attached.
Hi,

Which part of edit group cover photo? From the group page or the edit group page?
·
Friday, 18 April 2014 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
From the edit group page (the page where I go to edit the group). Unfortunately the bad news is that this appears to only happen on certain profiles. Perhaps the number of activities effects this? Also note that I join the group first before this happens. But perhaps I haven't tried enough to get the issue to occur when I don't join the group page.

While this is a big issue, I am very pleased to see some of the changes made in ES 1.2.8. So in other words, I'm still staying positive.
·
Friday, 18 April 2014 11:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I forgot to mention some good news about the situation. After my stream goes blank (it says "There are no activities here yet"), if I post a single stream item and refresh the page, suddenly everything is back! So for whatever reason editing a group cover in edit group mode makes it unable to read a user's stream items in certain cases. I know this wasn't just a single user issue, I now have seen this on at least three accounts now (on the same site).
·
Friday, 18 April 2014 11:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

I tested this on your site and I cant seem to be able to replicate the issue. I tested on 'test group' and i updated the group cover photo but the streams are display correctly. Please see http://screencast.com/t/xUs8SsyTqx

Can you tell me the steps to replicate this issue on your dev site?
Please advise.
Sam
·
Friday, 18 April 2014 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Give me some more time to figure this out. So far the issue appears to happen "once per user" as in the issue happens, then once it's fixed, it's hard to reproduce. I managed to re-create the issue with another account that had no activity. I had to load it up with activity, the issue didn't happen, I logged in over an hour later, edited a group cover, and suddenly that users data was gone too. As bad as that sounds, this is actually a good thing in the sense of being able to figure out the mysterious stream disappearance. There are patterns, but they are hard to follow.

I'll let you know when I've got both a testable example and a precise scenario.
·
Friday, 18 April 2014 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Log in with the account info that is placed in the original post of this thread. View the profile which you should clearly see activity in it. Go to this group page. Go to edit mode on the page, upload a new cover photo, save. Go back to your profile, it should say "There are no activities here yet". This assumes that this issue is consistent.

I attached to this post another user (super admin) for you guys to use to produce the issue again in case that helps. Unfortunately this scenario is one of those "once it's used up on a user, it takes a while to produce it again". The issue is however reoccurring in the sense that a profile's stream can be cleared again, but first the stream needs to come back and then some time has to pass. So it appears that there is a relationship between a "loaded stream for a user", time, and editing a groups cover photo. Don't directly upload a group cover photo, edit the group page to add one.
·
Monday, 21 April 2014 12:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

I am sorry for the delay of this reply and, thanks for the reproduce steps. I am able to replicate the issue
The issue happen when your last stream the time differences exceeded the stream pagination. Imagine you set your steam pagination to 1 day and after few days since your last update, if you edit the group details again ( not necessary cover upload ) then you will hit the issue

Anyway, the issue was caused by the group app settings where EasySocial failed to retrieve the correct setting. I've added a fix on your site and the fix will be added into next release of EasySocial.
The file that I've modified is 'JOOMLA/easysocial/media/com_easysocial/apps/user/groups/groups.php'.

Please verify again.
Hope these helps and have a nice day
Sam
·
Monday, 21 April 2014 16:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Don't sweat it Sam, I told you to wait so that the conditions for producing this would be right. I'm very pleased to hear this issue was looked into and appears to be resolved. So far it's working just fine on two users. I'm also glad this will make it into the next release of EasySocial. Thanks Sam, I really appreciate it.
·
Tuesday, 22 April 2014 01:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

You are welcome and glad to hear the fix worked
Have a nice day
Sam
·
Tuesday, 22 April 2014 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post