Hi Ihor,

Thanks for checking.

I could narrow down on the issue. It happens after (require 'org-inlinetask) is executed.

So to reproduce:
1. emacs -Q
2. paste the following snipped (right into the scratch buffer)
3. execute the two commands at the end C-x C-e for each
4. collapse all (TAB TAB)
5. expand Example (TAB)
5. go to heading 2 and expand it (TAB)

This should surface the issue.

>>>
* Example
** heading 1
xxxxx
** heading 2
*************** TODO Test access with provided credentials
xxxxx
*************** END
** heading 3
*************** TODO State "high value" targets                           :@CB:
xxxxx
*************** END
** heading 4
xxxxx

(org-mode)
(require 'org-inlinetask)
<<<

Am Mo., 20. Sept. 2021 um 10:21 Uhr schrieb Ihor Radchenko <yantar92@gmail.com>:
Michael Dauer <mick.dauer@gmail.com> writes:

> What I get after the first org-cycle is:
> * Example
> ** heading 1
> ** heading 2
> *              ** TODO Test access with provided credentials
> ** heading 3
> xxxxx
> *              ** END
> ** heading 4
> xxxxx
>

I cannot reproduce on latest master and with Org 9.4.4. What I am seeing
is:

* Example
** heading 1...
** heading 2
*              ** TODO Test access with provided credentials...
*              ** END
* heading 3...
* heading 4

Another cycle reveals the inlinetask contents:

* Example
** heading 1...
** heading 2
*              ** TODO Test access with provided credentials
xxxxx
*              ** END
* heading 3...
* heading 4

Maybe something with your config? Can you reproduce starting from emacs -Q?

Best,
Ihor