I've plugged 1.2.0RC1 into spring boot 1.2.7 / Spring Security / JPA 2 / MySQL 5 and managed to get lightadmin working with the majority of my entities.
I had to disable CSRF protection for the lightadmin dashboard and it was a real pain but I finally got it working
I can get entities in the mysql DB but the success operation URL is, for some reason, malformed. The URL looks like this:
/admin/domain/valueAddedTaxes/1/
null?updateSuccess=true
instead of
/admin/domain/valueAddedTaxes/1/?updateSuccess=true
I took a peek at the source and it looks like the create/edit jsp pages use the following code:
$(domain_form).submit(function () {
return new FormViewController(ApplicationConfig.RESOURCE_NAME).updateDomainEntity(this, function (domainEntity) {
window.location = domainEntity.getDomainLink() + '?updateSuccess=true';
});
});
I'm not sure about this, but it seems, for some reason domainEntity.getDomainLink() is returning null.
I've given up. Other than integrating the lightadmin source into my project and try to debug it - I'm helpless.
Please help! I've relied on light admin as a back office for a production site and it's giving me hell.
Thanks
Tom