Click JIRA - Created: (CLK-441) ClickUtils toLabel should return empty Sting for null values instead of throwing exception

3 Messages Forum Options Options
Embed this topic
Permalink
JIRA click-jira@avoka.com
Click JIRA - Created: (CLK-441) ClickUtils toLabel should return empty Sting for null values instead of throwing exception
Reply Threaded MoreMore options
Print post
Permalink
ClickUtils toLabel should return empty Sting for null values instead of throwing exception
------------------------------------------------------------------------------------------

                 Key: CLK-441
                 URL: http://www.avoka.com:8080/jira/browse/CLK-441
             Project: Click
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.5 M3
            Reporter: Bob Schellink
         Assigned To: Bob Schellink
            Priority: Minor
             Fix For: 1.5 RC1


When invoking ClickUtils#toLabel it throws an IllegalArgumentException if the argument is null. This was fine 1.4 branch where Controls always had a name defined.

In 1.5 it is possible not to set the name so #toLabel should instead return an empty String instead of exception.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.avoka.com:8080/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Click-development mailing list
Click-development@...
https://lists.sourceforge.net/lists/listinfo/click-development
JIRA click-jira@avoka.com
Click JIRA - Resolved: (CLK-441) ClickUtils toLabel should return empty Sting for null values instead of throwing exception
Reply Threaded MoreMore options
Print post
Permalink
     [ http://www.avoka.com:8080/jira/browse/CLK-441?page=all ]

Bob Schellink resolved CLK-441.
-------------------------------

    Resolution: Fixed

will be available for 1.5-RC1

> ClickUtils toLabel should return empty Sting for null values instead of throwing exception
> ------------------------------------------------------------------------------------------
>
>                 Key: CLK-441
>                 URL: http://www.avoka.com:8080/jira/browse/CLK-441
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5 M3
>            Reporter: Bob Schellink
>         Assigned To: Bob Schellink
>            Priority: Minor
>             Fix For: 1.5 RC1
>
>
> When invoking ClickUtils#toLabel it throws an IllegalArgumentException if the argument is null. This was fine 1.4 branch where Controls always had a name defined.
> In 1.5 it is possible not to set the name so #toLabel should instead return an empty String instead of exception.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.avoka.com:8080/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Click-development mailing list
Click-development@...
https://lists.sourceforge.net/lists/listinfo/click-development
JIRA click-jira@avoka.com
Click JIRA - Closed: (CLK-441) ClickUtils toLabel should return empty Sting for null values instead of throwing exception
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by JIRA click-jira@avoka.com
     [ http://www.avoka.com:8080/jira/browse/CLK-441?page=all ]

Bob Schellink closed CLK-441.
-----------------------------


> ClickUtils toLabel should return empty Sting for null values instead of throwing exception
> ------------------------------------------------------------------------------------------
>
>                 Key: CLK-441
>                 URL: http://www.avoka.com:8080/jira/browse/CLK-441
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5 M3
>            Reporter: Bob Schellink
>         Assigned To: Bob Schellink
>            Priority: Minor
>             Fix For: 1.5 RC1
>
>
> When invoking ClickUtils#toLabel it throws an IllegalArgumentException if the argument is null. This was fine 1.4 branch where Controls always had a name defined.
> In 1.5 it is possible not to set the name so #toLabel should instead return an empty String instead of exception.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.avoka.com:8080/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Click-development mailing list
Click-development@...
https://lists.sourceforge.net/lists/listinfo/click-development