[ 
https://issues.apache.org/jira/browse/VCL-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514188#comment-15514188
 ] 

ASF subversion and git services commented on VCL-993:
-----------------------------------------------------

Commit 1761991 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1761991 ]

VCL-993 - web code should handle user.IMtypeid being NULL

utils.php: modified getUserInfo: changed query to use LEFT JOIN for the IMtype 
table

itecsauth.php: modified updateITECSUser: changed query to use LEFT JOIN for the 
IMtype table

ldapauth.php: modified updateLDAPUser: changed query to use LEFT JOIN for the 
IMtype table

> web code should handle user.IMtypeid being NULL
> -----------------------------------------------
>
>                 Key: VCL-993
>                 URL: https://issues.apache.org/jira/browse/VCL-993
>             Project: VCL
>          Issue Type: Bug
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.5
>
>
> With the efforts to make fields in the database that relate to other tables 
> to be NULL when no value from the other table should be set (rather than 
> using 0), getUserInfo was broken when user.IMtypeid is NULL.
> As an aside, given that IM notification is not used any more, it may be a 
> good idea to remove the field altogether.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to