By adrien on Tuesday, 10 November 2015
Posted in Technical Issues
Replies 17
Likes 0
Views 643
Votes 0
Hello Team

on 1.4.4
Little issue: If a user sets an option in a profile multi dropdown field, every time the profile is updated the field adds a new empty selected option and save it as empty value in the DB
data column example: ["COM_ES_JAPANESE","",""]
should be ["COM_ES_JAPANESE"]

Let me know if this is not clear enough .
Hi Adrien,

Thanks for the heads up on the issue. I will forward this to our developers so they can optimizing the json string for multidropdown field value in the next release of easysocial.
·
Wednesday, 11 November 2015 11:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Any news on this, still not fixed and this is getting critical on the project.
·
Friday, 20 May 2016 06:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

I am sorry that I might have missed this issue previously. Can you download my attachment below and place it inside your /media/com_easysocial/apps/fields/user/multidropdown/ folder and then try to re-save the profile of the user and see how it goes?
·
Friday, 20 May 2016 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I can't reach the edit profile page anymore , getting a red alert:

Error

You are not authorised to view this resource.

Not yet
·
Friday, 20 May 2016 15:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

Hm, that's weird. Everything seems to working correctly here in my local. Can you provide us with your Joomla backend and FTP access so we can take a closer look on the issue?
·
Friday, 20 May 2016 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

No, I'm still on localhost...
Actually saving the new field with a new value, removes the Joomla user group of the user making the user orphan with no access .

Also saving the new field without change , doesn't remove the joomla user group of the user , and doesn't add a new empty value every time (wich is better) but only the first time so it's still one empty useless line that should not be seen.
·
Friday, 20 May 2016 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

Hm, I'm not actually quite understand what is the exact issue here now. My previous fix was to ensure that whenever a user edit their profile and then emptied some of the multidropdown selection as in the screenshot here, http://screencast.com/t/6zP0hCpBPOt it will no longer create an empty json string within the database. Instead of [" ","Multi C"," "," "] it will now become ["Multi C"].

Not really sure if that is actually related to your issue here . Do you mind if you can elaborate more on the issue and provide us with the exact steps on how to replicate the issue here?
·
Friday, 20 May 2016 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Sorry for the confusion, I managed to fix the disappearing usergroup issue by removing outdated extensions... Your latest multidropdown file is almost perfect.
However it still adds a useless empty option in the form even though user did not click the "add" (add option) link. See video at https://drive.google.com/file/d/0B3iILTubeJnaeVhLazk1RDZ0YkE/view
·
Friday, 20 May 2016 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

Can you download this attachment instead and replace the previous file and see how it goes? I've tested this locally and here is the video of my result, http://screencast.com/t/DTHSdj9B9p .
·
Friday, 20 May 2016 17:41
·
0 Likes
·
0 Votes
·
0 Comments
·
On my side it makes no difference with the previous one, saving the form always show an additional empty option field. Exactly as shown in my previous video.
·
Friday, 20 May 2016 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Adrien,

I am really sorry for the delay of this reply as it is a weekend for us here.

Try download my attached file and replace into this file location in your site and see how it goes?
JoomlaFolder/media/com_easysocial/apps/fields/user/multidropdown/multidropdown.php
·
Saturday, 21 May 2016 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I copied the file to the path you mentioned
but I don't see a diference as you can see on this short vid.
https://drive.google.com/file/d/0B3iILTubeJnaR2NmdnVaZW9vY2M/view

ES1.4.9
·
Tuesday, 24 May 2016 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

Hm, we are not entirely sure why the issue still persist on your local site as everything is working correctly here in our local repository. Perhaps you can temporarily upload your site to your live server as a test site so we can check on the issue directly instead?
·
Tuesday, 24 May 2016 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Thanks for the proposal.
I just uploaded it to an online host.http://www.thinklang.com/index.php
So you can try it
login: stackideas
pass: 5Tack1d3a5

Both as registered and super user.
You can login to the front , edit your profile, in the "language" tab to try the multiple dropdown behaviour.
Then you can check the backend and eventually update some file as I installed the 'extplorer' component.

Let me know if you find someting .
·
Wednesday, 25 May 2016 20:10
·
0 Likes
·
0 Votes
·
0 Comments
·
I've applied some fix in these following file in your site, can you give it a try and see how it goes?

JoomlaFolder\media\com_easysocial\apps\fields\user\multidropdown\multidropdown.php
JoomlaFolder\media\com_easysocial\apps\fields\user\multidropdown\themes\default\content.php
·
Thursday, 26 May 2016 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
It works great ! Great job again !
Will these changes be added to the ES core for good ?
·
Thursday, 26 May 2016 04:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, the fix will included in 1.4.11 version.
·
Thursday, 26 May 2016 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post