You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Bryant Luk (JIRA)" <ji...@apache.org> on 2009/07/01 23:27:47 UTC

[jira] Created: (WINK-32) Should attempt to use Data Activation Framework according to spec

Should attempt to use Data Activation Framework according to spec
-----------------------------------------------------------------

                 Key: WINK-32
                 URL: https://issues.apache.org/jira/browse/WINK-32
             Project: Wink
          Issue Type: Bug
          Components: Server
            Reporter: Bryant Luk


org.apache.wink.server.internal.handlers.FlushResultHandler

I think we need to finish this TODO eventually: =)

        // TODO: try to find a data handler using JavaBeans Activation Framework,
        // if found use DataSourceProvider



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


[jira] Closed: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Bryant Luk closed WINK-32.
--------------------------


Thanks for the DataHandler code.

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Updated: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Bryant Luk updated WINK-32:
---------------------------

    Patch Info: [Patch Available]

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Updated: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Bryant Luk updated WINK-32:
---------------------------

    Attachment: WINK-32.patch

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Resolved: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Martin Snitkovsky resolved WINK-32.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1

ASF DataContentHandler will be used as a fallback for message body writers

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Commented: (WINK-32) Should attempt to use Data Activation Framework according to spec

Posted by "Martin Snitkovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728014#action_12728014 ] 

Martin Snitkovsky commented on WINK-32:
---------------------------------------

I agree. Went over the patch, and it looks correct.

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Resolved: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Bryant Luk resolved WINK-32.
----------------------------

    Resolution: Fixed

Applied patch.

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Assigned: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Martin Snitkovsky reassigned WINK-32:
-------------------------------------

    Assignee: Martin Snitkovsky

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Reopened: (WINK-32) Should attempt to use Data Activation Framework according to spec

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

Bryant Luk reopened WINK-32:
----------------------------


In this added code, the exceptions shouldn't be caught at all to be more consistent with other behavior in the runtime (i.e. IOException is thrown out and could be re-mapped if response not committed) and to make sure that a 500 server error gets thrown if nothing can write out the data (there was a NPE in the catch (Exception e) block since dataContentHandler was null so no 500s were being thrown out):

I had to change the unit test slightly to do what I think was intended but want to double check so I'll attach a patch here.

> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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


[jira] Commented: (WINK-32) Should attempt to use Data Activation Framework according to spec

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728406#action_12728406 ] 

Hudson commented on WINK-32:
----------------------------

Integrated in Wink-Trunk-JDK15 #8 (See [http://hudson.zones.apache.org/hudson/job/Wink-Trunk-JDK15/8/])
    Fix for exception handling in writers []


> Should attempt to use Data Activation Framework according to spec
> -----------------------------------------------------------------
>
>                 Key: WINK-32
>                 URL: https://issues.apache.org/jira/browse/WINK-32
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>            Reporter: Bryant Luk
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>         Attachments: WINK-32.patch
>
>
> org.apache.wink.server.internal.handlers.FlushResultHandler
> I think we need to finish this TODO eventually: =)
>         // TODO: try to find a data handler using JavaBeans Activation Framework,
>         // if found use DataSourceProvider

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