Hello Anne-Hélène,
Thank you for your interest in Rave! We are glad you are interested in the project. I can answer your first question since I wrote that bit of test code J The default implementation of Rave uses H2 as the database. It appears that the unique constraint message of H2 vs MySQL is slightly different, and thus why it is failing on your MySQL installation. I'm not sure we planned for the Repository tests to be run against a database other than H2 (even though Rave can support other RDBMS solutions when running for real). So perhaps this is a good question for the Rave community - should we support executing our Repository tests against other database solutions besides H2? I'll defer to someone else to answer your second question that has more knowledge of that area of the project. Tony Carlucci From: Anne-Hélène Turpin [mailto:[email protected]] Sent: Thursday, January 26, 2012 8:50 AM To: [email protected] Subject: Questions Hi rave developers, First of all, congratulations for your work. Rave is a promising project but I have some questions. I'm chekout the latest sources of Rave from your subversion repository. I'm using MySQL database. When I build the project, I've got a failure on the test : "Failed tests: save_duplicateText_exception(org.apache.rave.portal.repository.impl.JpaCategoryRepositoryTest): Expected to get a PersistenceException due to Unique Constraint Violation" I have to modify the JpaCategoryRepositoryTest class so that build succeed. Here are the corrections I made : //catch (PersistenceException e) { catch (Exception e) { //assertThat(e.getCause().toString().contains("Unique"), is(true)); assertThat(e.getCause().getMessage().contains("Duplicate"), is(true)); /* Fin modif AHT */ gotExpectedException = true; Am I the only one to encounter this problem ? I have a second question. I try to custom the Rave portal with a personal CSS. I follow the instruction of the documentation web page but I don't find where I can change the default settings in the portal preferences page of the administrator. I just can modify the number of element per page or the page title. May I have to develop this ? Or may I replace the custom css of rave vanilla extension ? Thanks for your help. Anne-Hélène -- Anne-Hélène TURPIN Renater Service Applicatif aux Utilisateurs Tel : +33 2 23 23 71 42
