You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/03/04 14:34:40 UTC

[jira] Created: (SLING-306) Property setting assums String by default

Property setting assums String by default
-----------------------------------------

                 Key: SLING-306
                 URL: https://issues.apache.org/jira/browse/SLING-306
             Project: Sling
          Issue Type: Bug
          Components: ujax
            Reporter: Carsten Ziegeler


If I want to set properties on a node where the type is not a string, the ujax post servlet fails as it always
assumes string as the property type if no type hint is given.
I think the correct behaviour would be to let the repository try to convert the value into the required
type if no type hint is set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-306) Property setting assums String by default

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-306.
----------------------------------

    Resolution: Fixed

Fixed in r634716

> Property setting assums String by default
> -----------------------------------------
>
>                 Key: SLING-306
>                 URL: https://issues.apache.org/jira/browse/SLING-306
>             Project: Sling
>          Issue Type: Bug
>          Components: ujax
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If I want to set properties on a node where the type is not a string, the ujax post servlet fails as it always
> assumes string as the property type if no type hint is given.
> I think the correct behaviour would be to let the repository try to convert the value into the required
> type if no type hint is set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-306) Property setting assums String by default

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-306:
--------------------------------------

    Assignee: Carsten Ziegeler

> Property setting assums String by default
> -----------------------------------------
>
>                 Key: SLING-306
>                 URL: https://issues.apache.org/jira/browse/SLING-306
>             Project: Sling
>          Issue Type: Bug
>          Components: ujax
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If I want to set properties on a node where the type is not a string, the ujax post servlet fails as it always
> assumes string as the property type if no type hint is given.
> I think the correct behaviour would be to let the repository try to convert the value into the required
> type if no type hint is set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-306) Property setting assums String by default

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-306:
-----------------------------------

    Fix Version/s: 2.0.0

> Property setting assums String by default
> -----------------------------------------
>
>                 Key: SLING-306
>                 URL: https://issues.apache.org/jira/browse/SLING-306
>             Project: Sling
>          Issue Type: Bug
>          Components: ujax
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If I want to set properties on a node where the type is not a string, the ujax post servlet fails as it always
> assumes string as the property type if no type hint is given.
> I think the correct behaviour would be to let the repository try to convert the value into the required
> type if no type hint is set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.