No such property: transactionStatus for class: org.siti.TicketController.
The error occurs here:
if (ticket.hasErrors()) {
transactionStatus.setRollbackOnly()
respond ticket.errors, view:'edit'
return
}
but the controller imports import grails.transaction.Transactional and the controller is annotated with @Transactional(readOnly = true) grails version 3.2.4
Try getting rid og the readOnly=true and just go with plain @Transactional. If it is read only, what are you rolling back?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.