mkuchin / docker-registry-web

Web UI for private docker registry v2
https://hub.docker.com/r/hyper/docker-registry-web/
GNU General Public License v2.0
534 stars 135 forks source link

Fail to create ACL with ui-delete permission #57

Open mkuchin opened 8 years ago

mkuchin commented 8 years ago

Due to disabled ip field

Stacktrace:

2016-07-22 04:25:32,974 [http-bio-8080-exec-6] ERROR errors.GrailsExceptionResolver  - TransientPropertyValueException occurred when processing request: [POST] /registry/role/addAcl
Not-null property references a transient value - transient instance must be saved before current operation : docker.registry.RoleAccess.acl -> docker.registry.AccessControl. Stacktrace follows:
org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : docker.registry.RoleAccess.acl -> docker.registry.AccessControl
    at docker.registry.web.RoleController.$tt__addAcl(RoleController.groovy:41)
    at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
    at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
    at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
    at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
    at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)