Hi
there is an error when getting "wrapped" packages text.
the error exist in :
1. view package body menu
2. Edit package body menu
3. Compare User Objects.
I queried DBA_SOURCE and I noticed that PLD get only the first record of the package body from DBA_SOURCE.
example :
select t.text from dba_source t
where t.owner='MAINT'
and t.name='SEND_MAT'
and t.type='PACKAGE BODY'
order by t.line;
the result:
record 1:
PACKAGE BODY SEND_MAT wrapped
0
abcd
abcd
...
record 2:
3b 3d 3c
3e 3d 3f 3e
40 3f 41 40
...
the result is 2 records but PLD get the first one only, causing error when recompile the package or when take it to a second database after comparing objects.
I tried pld v 10 and it is the same error too.
This only appears for WRAPPED packages not for normal packages.
I did not have a chance to test it over package header as all the packages I have are less than 4000 byte long. but I suspect it is the same error exist for package header too.
Please check it and correct the retrieval of the text as a combination of all records from DBA_SOURCE (i.e record1 || record2) don't use end-of-line character between the records.
I hope I am helping you to achieve bug free product