enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
10 stars 4 forks source link

Exception in version history panel #393

Closed sgauruseu closed 5 years ago

sgauruseu commented 5 years ago
  1. Install SuperHero
  2. Open Filter Panel and check Post (Comment, Landing Page)
  3. Select any post-content and try to open Versions Widget

image

BUG: NullPointerException in server.log and 500 error in console

java.lang.NullPointerException: null at com.enonic.xp.core.impl.content.ContentVersionFactory.doCreateContentVersion(ContentVersionFactory.java:53) at com.enonic.xp.core.impl.content.ContentVersionFactory.create(ContentVersionFactory.java:43) at com.enonic.xp.core.impl.content.ContentVersionFactory.create(ContentVersionFactory.java:33) at com.enonic.xp.core.impl.content.FindContentVersionsCommand.doGetContentVersions(FindContentVersionsCommand.java:60) at com.enonic.xp.core.impl.content.FindContentVersionsCommand.execute(FindContentVersionsCommand.java:37) at com.enonic.xp.core.impl.content.ContentServiceImpl.getVersions(ContentServiceImpl.java:897) at com.enonic.xp.admin.impl.rest.resource.content.ContentResource.getContentVersionsForView(ContentResource.java:1234)

vbradnitski commented 5 years ago

Issue moved to enonic/xp #7063 via ZenHub