[ 
https://issues.apache.org/jira/browse/GUACAMOLE-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper updated GUACAMOLE-320:
-------------------------------------
    Description: 
The recently-added text attributes for connections and users can be 
accidentally set to a blank value (rather than null) if the value is edited and 
then deleted. This is particularly problematic for the new guacd hostname 
attribute for connections, which causes connections to fail if set to a blank 
value:

{code:none}
[http-bio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to 
guacd at :4822.
{code}

For fields which internally use {{null}} to represent a blank value, blank 
values provided by the interface should be properly translated back to 
{{null}}, including {{""}}.

  was:
If a value is specified for the {{guacd-hostname}} property in 
{{guacamole.properties}}, the value is effectively ignored, and an empty string 
is used for the hostname instead:

{code:none}
[http-bio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to 
guacd at :4822.
{code}

If the guacd hostname is overridden through specifying a value for the 
{{proxy_hostname}} column in the {{guacamole_connection}} table, things work as 
expected.


> Text attributes may erroneously be set as blank
> -----------------------------------------------
>
>                 Key: GUACAMOLE-320
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-320
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole, guacamole-ext
>    Affects Versions: 0.9.13-incubating
>            Reporter: Karl Fiabeschi
>            Assignee: Michael Jumper
>            Priority: Blocker
>             Fix For: 0.9.13-incubating
>
>
> The recently-added text attributes for connections and users can be 
> accidentally set to a blank value (rather than null) if the value is edited 
> and then deleted. This is particularly problematic for the new guacd hostname 
> attribute for connections, which causes connections to fail if set to a blank 
> value:
> {code:none}
> [http-bio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to 
> guacd at :4822.
> {code}
> For fields which internally use {{null}} to represent a blank value, blank 
> values provided by the interface should be properly translated back to 
> {{null}}, including {{""}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to