Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted function group is still serialized as empty XML #7020

Open
pokrakam opened this issue Aug 21, 2024 · 2 comments
Open

Deleted function group is still serialized as empty XML #7020

pokrakam opened this issue Aug 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working serialization Translate between object types and files

Comments

@pokrakam
Copy link
Member

pokrakam commented Aug 21, 2024

A TADIR entry exists for a deleted Function Group, the exists method fails, yet an empty XML file is generated containing

<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_FUGR" serializer_version="v1.0.0">
 <asx:abap version="1.0" xmlns:asx="http://www.sap.com/abapxml"/>
</abapGit>
@mbtools mbtools added serialization Translate between object types and files bug Something isn't working labels Aug 22, 2024
@mbtools
Copy link
Member

mbtools commented Sep 5, 2024

I manually created a tadir entry for a function group but I'm not able to reproduce this. It seems also very unlikely that anything is serialized if exists fails:

IF zif_abapgit_object~exists( ) = abap_false.
RETURN.
ENDIF.
serialize_xml( io_xml ).

@pokrakam
Copy link
Member Author

pokrakam commented Sep 5, 2024

Aware of this, yet it was happening on a customer system. I've got it on my todo to debug when I'm next working on that system to see what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working serialization Translate between object types and files
Development

No branches or pull requests

2 participants