Closed GoogleCodeExporter closed 8 years ago
This is likely because of the way in which the server settings are being read
back from the collection(store_Settings)
IfcModel model = session.getAllOfType(StorePackage.eINSTANCE.getSettings(),
false, null);
if (model.size() == 1) {IdEObject idEObject =
model.getValues().iterator().next();
if (idEObject instanceof Settings) {settings = (Settings) idEObject;}
Looks like its not picking the most recent update instead it picks the previous
model which had no setting. Hence failing again in the validation below
if (settings.getSiteAddress().isEmpty() || settings.getSmtpServer().isEmpty()
|| !adminFound) {
Original comment by reisang....@gmail.com
on 7 Sep 2012 at 11:54
setup.jsp is now only available as long as the server has not been setup.
I refactored the whole Settings code so work better as well, thanks for the
suggestion.
Original comment by ru...@logic-labs.nl
on 13 Sep 2012 at 12:39
Original issue reported on code.google.com by
berlo...@gmail.com
on 27 Jun 2012 at 9:54