You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 23:24:24 UTC

[jira] [Created] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Inherited service methods are not resolved in derived service implementations
-----------------------------------------------------------------------------

                 Key: THRIFT-1554
                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
             Project: Thrift
          Issue Type: Bug
          Components: Delphi - Compiler
    Affects Versions: 0.8, 0.9
            Reporter: Jens Geyer
             Fix For: 0.9


Given

{code}
service SharedService {
  SharedStruct getStruct(1: i32 key)
}
{code}

and

{code}
service Calculator extends shared.SharedService {
  // some methods
}
{code}

then the inherited method {{noformat}}getStruct(){{noformat}} cannot be called, because the server is not able to resolve the method name into an adress.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Roger Meier (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-1554.
---------------------------------

    Resolution: Fixed
      Assignee: Jens Geyer

committed.

thanks Jens!
                
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

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

Hudson commented on THRIFT-1554:
--------------------------------

Integrated in Thrift #432 (See [https://builds.apache.org/job/Thrift/432/])
    THRIFT-1554 Inherited service methods are not resolved in derived service implementations
Patch: Jens Geyer (Revision 1311311)

     Result = SUCCESS
roger : http://svn.apache.org/viewvc/?view=rev&rev=1311311
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_delphi_generator.cc

                
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Kenjiro Fukumitsu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249870#comment-13249870 ] 

Kenjiro Fukumitsu commented on THRIFT-1554:
-------------------------------------------

I have tested this patch and it works fine. +1.
Thank you,Jens.
                
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Description: 
Given

{code}
service SharedService {
  SharedStruct getStruct(1: i32 key)
}
{code}

and

{code}
service Calculator extends shared.SharedService {
  // some methods
}
{code}

then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

  was:
Given

{code}
service SharedService {
  SharedStruct getStruct(1: i32 key)
}
{code}

and

{code}
service Calculator extends shared.SharedService {
  // some methods
}
{code}

then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress.


    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Attachment:     (was: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch)
    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Attachment: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch

revised patch:
- added missing indent_down()
                
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Attachment: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch
    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Description: 
Given

{code}
service SharedService {
  SharedStruct getStruct(1: i32 key)
}
{code}

and

{code}
service Calculator extends shared.SharedService {
  // some methods
}
{code}

then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress.


  was:
Given

{code}
service SharedService {
  SharedStruct getStruct(1: i32 key)
}
{code}

and

{code}
service Calculator extends shared.SharedService {
  // some methods
}
{code}

then the inherited method {{noformat}}getStruct(){{noformat}} cannot be called, because the server is not able to resolve the method name into an adress.


    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Attachment: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch
    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch, THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1554) Inherited service methods are not resolved in derived service implementations

Posted by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1554:
-------------------------------

    Attachment:     (was: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations.patch)
    
> Inherited service methods are not resolved in derived service implementations
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1554
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1554
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Compiler
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1554_Inherited_service_methods_are_not_resolved_in_derived_service_implementations - rev3.patch
>
>
> Given
> {code}
> service SharedService {
>   SharedStruct getStruct(1: i32 key)
> }
> {code}
> and
> {code}
> service Calculator extends shared.SharedService {
>   // some methods
> }
> {code}
> then the inherited method getStruct() cannot be called, because the server is not able to resolve the method name into an adress. Additionally, the result value of the table lookup operation is not checked correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira