Groups within compound paths
It is possible to have a group inside a compound path. In the UI you will see "ungroup" offered but not working - the proper cure is to revert compound, then to ungroup, then to compound again.
In scripting, the compoundpath object simply has no path members (and the object does not provide access to groups)
Please either ensure that compound paths cannot include groups (preferred) or allow access to them from scripting

2 comments
-
Egor Chistyakov commented
Sorry, I made a duplicate, but it has more votes:
https://illustrator.uservoice.com/forums/601447-illustrator-bugs/suggestions/41110042-groups-inside-compound-paths -
Egor Chistyakov commented
I also offered AstuteGraphics to solve this problem with their VectorFisrtAid plugin, and they did it in A DAY.
Now it would be able to detect groups inside compound paths and fix them.
It does not mean that Illustrator team should not fix it, on the contrary.
Please vote for this, if you are agree.