----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34288/#review83966 -----------------------------------------------------------
Ship it! - Jonathan Hurley On May 15, 2015, 3:33 p.m., Tom Beerbower wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34288/ > ----------------------------------------------------------- > > (Updated May 15, 2015, 3:33 p.m.) > > > Review request for Ambari, Jonathan Hurley and Nate Cole. > > > Bugs: AMBARI-11183 > https://issues.apache.org/jira/browse/AMBARI-11183 > > > Repository: ambari > > > Description > ------- > > "cannot load permission" error when accessing the ambari view > > The problem is that there are privileges in the DB that do not have an > associated resource. > > To reproduce: > Delete jars of views which have an instance left in ambari, from > /var/lib/ambari-server/resources/views/ and restart ambari. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ResourceEntity.java > 04dbd76 > > ambari-server/src/test/java/org/apache/ambari/server/orm/entities/ResourceEntityTest.java > 35724d3 > > Diff: https://reviews.apache.org/r/34288/diff/ > > > Testing > ------- > > Manual tested. > > Added new unit test. > > mvn clean test > > > Thanks, > > Tom Beerbower > >
