List Display of Users a bit broken in 7.2.0
Designs
- Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related.
Learn more.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Contributor
I think the problem is being caused here:
https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Users/models/Record.php#L408
"url" is never going to be empty when it is tested in here:
https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Users/UserViewHeader.tpl#L21
or here:
HTH
@lord_alan Thanks! for the update, will look into this.
- Author Contributor
@uma.s If I do this in the User Record model then the problem goes away:
$url = \Vtiger_Functions::getFilePublicURL($imageId, $imageName); //decode_html - added to handle UTF-8 characters in file names $imageOriginalName = urlencode(decode_html($imageName)); if($url) { $url = $site_URL.$url; } $imageDetails[] = array( 'id' => $imageId, 'orgname' => $imageOriginalName, 'path' => $imagePath.$imageId, 'name' => $imageName, 'url' => $url, );
@lord_alan You are right! It's a bad slip, will be pulling this changeset. Thank you!
- Uma mentioned in merge request !485 (merged)
mentioned in merge request !485 (merged)
- Nilay Khatri mentioned in issue #1272 (closed)
mentioned in issue #1272 (closed)
- Nilay Khatri mentioned in issue #1272 (closed)
mentioned in issue #1272 (closed)
- Nilay Khatri mentioned in issue #1272 (closed)
mentioned in issue #1272 (closed)
- Uma Milestone changed to 7.3
Milestone changed to 7.3
Please register or sign in to reply