enonic / app-contentstudio-old

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

Edit Permissions Dialog - errors in console and dialog does not close when 'Apply' button pressed #528

Closed sgauruseu closed 6 years ago

sgauruseu commented 6 years ago

This bug does not reproduce when Edit Permissions Dialog was opened in Wizard

  1. Select a content in grid, open Details Panel, click on Edit Permissions link
  2. change permissions, press the Apply button

Bug:

image

_all.js:19536 Uncaught Error: Content type name can't be null at assert (http://localhost:8080/admin/tool/com.enonic.xp.app.contentstudio/main/_/asset/com.enonic.xp.app.contentstudio:1541407961/admin/common/js/_all.js:1:2390) at Object.assertNotNull (http://localhost:8080/admin/tool/com.enonic.xp.app.contentstudio/main/_/asset/com.enonic.xp.app.contentstudio:1541407961/admin/common/js/_all.js:1:2616) at new ContentTypeName (http://localhost:8080/admin/tool/com.enonic.xp.app.contentstudio/main/_/asset/com.enonic.xp.app.contentstudio:1541407961/admin/common/js/_all.js:1:1095464) at ApplyContentPermissionsRequest.JsonResourceRequest.fromJsonToContent (http://localhost:8080/admin/tool/com.enonic.xp.app.contentstudio/main/_/asset/com.enonic.xp.app.contentstudio:1541407961/js/bundle.js:1:222703) at http://localhost:8080/admin/tool/com.enonic.xp.app.contentstudio/main/_/asset/com.enonic.xp.app.contentstudio:1541407961/js/bundle.js:1:1555088 From previous event: at EditPermissionsDialog.applyPermissions (

alansemenov commented 6 years ago

@sgauruseu this is caused by outdated lib-admin-ui in the repo. doesn't reproduce locally.