abapGit/src/objects/oo
Marc Bernard 67093085f6
CLAS,ENHO: Fix inactive enhancements (#5810)
* CLAS,ENHO: Fix inactive enhancements

When pulling a change to an existing class, existing enhancement where inactivated and the enhancement code deleted. 

This was caused by unnecessarily calling `CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'` in `zcl_abapgit_oo_class->create`, twice.

The change avoids the second call if the class properties and attributes have *not* been changed. Interfaces are handled the same way. 

Tested with CI tests for classes and interfaces:


Closes #5809

* Clear

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-07 15:00:31 -04:00
..
package.devc.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_base.clas.abap CLAS,INTF: Add missing shorttexts (#5755) 2022-09-15 11:34:32 -04:00
zcl_abapgit_oo_base.clas.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_class.clas.abap CLAS,ENHO: Fix inactive enhancements (#5810) 2022-10-07 15:00:31 -04:00
zcl_abapgit_oo_class.clas.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_factory.clas.abap Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_factory.clas.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_interface.clas.abap CLAS,ENHO: Fix inactive enhancements (#5810) 2022-10-07 15:00:31 -04:00
zcl_abapgit_oo_interface.clas.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_serializer.clas.abap Post-processing option for custom class serializer (#4953) 2021-09-18 06:23:06 +02:00
zcl_abapgit_oo_serializer.clas.testclasses.abap Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zcl_abapgit_oo_serializer.clas.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00
zif_abapgit_oo_object_fnc.intf.abap CLAS,ENHO: Fix inactive enhancements (#5810) 2022-10-07 15:00:31 -04:00
zif_abapgit_oo_object_fnc.intf.xml Package Structure - Part 3 (#4286) 2020-12-04 08:51:43 +01:00