Moving a local reference to portfolio x generates a copy of portfolio x. The copy is considered as a root portfolio and can't be deleted. The root cause is in the web service api/views/move.
- create portfolio 1
- create subporfolio 11 in 1
- create portfolio 2
- add a reference to portfolio 2 inside subportfolio 11
- move reference from subportfolio 11 to portfolio 1
- the list of portfolios displays three portfolios instead of two