CMS MADE SIMPLE FORGE

CGUserDirectory

 

[#9969] URL issues related to multi-select field(s)

avatar
Created By: Stephan (10010110)
Date Submitted: Mon Apr 28 03:28:30 -0400 2014

Assigned To: Robert Campbell (calguy1000)
Version: 1.4.4
CMSMS Version: 1.11.10
Severity: Major
Resolution: None
State: Open
Summary:
URL issues related to multi-select field(s)
Detailed Description:
I have an FEU property as multi-select field. The summary template of this
module is showing the values of this property for each user as list of links but
the URLs appear to be screwed up as they are referring to the admin area (a
sample URL looks like this:
http://example.com/admin/moduleinterface.php?mact=CGUserDirectory,m1,default,0&_sx_=ab1a8d0064c05bf0&m1uselike=1&m1prop=example&m1propval=example1).
What’s supposed to happen there anyway? My expectation as user would be that
clicking a link in this list shows a new list with users that share that
property value. However, clicking such a link while I’m logged in as admin
brings up a new page with the following error:

Fatal error: Call to a member function get_multiselect_text() on a non-object in
~/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(151) : eval()'d
code on line 115

On a related note, the browse template on that multi-select property also shows
a list of links of each property value but clicking one of those links doesn’t
filter the list correctly. In version 1.4.3 only the users were shown that had
the property value as first item; now, in version 1.4.4, the complete user list
is showing up, even if the property value doesn’t exist for a certain user.


History

Comments
avatar
Date: 2014-05-30 17:15
Posted By: Stephan (10010110)

Is this related to bugs #10013 and #10015?
      
Updates

Updated: 2014-05-30 17:15
resolution_id: => 5