Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1195

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1195
    Summary: forAllInterfaceViewTypes does not work correctly for create-methods
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 1 hour
 Time Spent: Unknown
  Remaining: 1 hour

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.2

   Assignee: Matthias Germann
   Reporter: Joachim Zierhold

    Created: Mon, 13 Dec 2004 8:46 AM
    Updated: Tue, 8 Feb 2005 7:57 AM
Environment: xdoclet 1.2.2 on Linux

Description:
In our application, we had to set the transaction attribute for a 
create-method for which only a local interface should be generated.
The declaration of the transaction-attributes was done for a local 
create-method and a remote create-method.
Because the remote create-method did not exist, we got a verify error
at deployment time from our BES 5.2.1.
The patch below was a quick fix for us on our problem.

diff -rb 
../xdoclet-1.2.2/modules/ejb/src/xdoclet/modules/ejb/intf/InterfaceTagsHandler.java
 ./modules/ejb/src/xdoclet/modules/ejb/intf/InterfaceTagsHandler.java
484,491c484
<         if ((isComponentInterfaceMethod(getCurrentMethod()))
<             || (HomeTagsHandler.isCreateMethod(getCurrentMethod()))) {
<             String paramName = "ejb.interface-method";
<
<             if (HomeTagsHandler.isCreateMethod(getCurrentMethod())) {
<                 paramName = "ejb.create-method";
<             }
<
---
>         if (isComponentInterfaceMethod(getCurrentMethod())) {
496c489
<                 paramName,
---
>                 "ejb.interface-method",



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to