google-code-export / zaplink

Automatically exported from code.google.com/p/zaplink
1 stars 0 forks source link

"Source code Expected" on Class export with empty method #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Implement a method of an interface with no ABAP Code (2 lines only)
2.Export this class

What is the expected output?
"<Source>" tag shouldn't be present

What do you see instead?
<SOURCE>Source code Expected</SOURCE>

Original issue reported on code.google.com by taryck%b...@gtempaccount.com on 29 Dec 2010 at 4:57

GoogleCodeExporter commented 9 years ago
Analyse : in ZAPLINK_CLAS_DATA=>FROM_DATA
        IF _ia-source-_ IS INITIAL.
          _ia-source-_ = 'Source code Expected'(sce). " to generate a compilation error on target method in order to user to investigate the reason
        ENDIF.
Not very smart isn't it :-( because method can be empty...

I apologize... :-/

Original comment by taryck%b...@gtempaccount.com on 29 Dec 2010 at 4:59

GoogleCodeExporter commented 9 years ago
Issue Fixed with changeset : 
https://code.google.com/p/zaplink/source/detail?r=5422edb9e6b168d1e1b5ecf3a0111a
afb811247f

Original comment by taryck%b...@gtempaccount.com on 30 Dec 2010 at 9:25

GoogleCodeExporter commented 9 years ago
Issue 121 has been merged into this issue.

Original comment by taryck%b...@gtempaccount.com on 29 Mar 2011 at 10:11