enonic / app-contentstudio-old

Enonic XP - Content Studio app
GNU General Public License v3.0
1 stars 1 forks source link

Tab with Outbound Dependencies should be refreshed after version rollback #459

Closed sgauruseu closed 6 years ago

sgauruseu commented 6 years ago
  1. Create new shortcut, select an image, save it
  2. Select another image in the shortcut, save it
  3. Click on the shortcut and open Outbound Dependencies
  4. Go to the shortcut wizard, open versions panel and rollback the previous version.

Bug: Outbound Dependencies should be refreshed after version rollback

wizard: image

In Outbound dependencies:

image

ashklianko commented 6 years ago

That was fixed in #456; In this task I am fixing issue for a Outbound Dependencies section shown when content has no any dependencies: say you insert url into browser like admin/tool/com.enonic.xp.app.contentstudio/main#/outbound/1759b321-a367-44cc-96bd-b4bdbb6f9a97

But content with id from url might not have any dependencies already; In this case you'll see Dependencies Section open and spinner running in content grid;

Fixed by checking content's dependencies before routing to content studio inbound/outbound url;