Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] error on delete of group_type with required field.

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] error on delete of group_type with required field.


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Lynn Garrison <>, Grouper Dev <>
  • Subject: RE: [grouper-dev] error on delete of group_type with required field.
  • Date: Fri, 11 May 2012 15:45:19 +0000
  • Accept-language: en-US

Yes, this looks like a problem… I will look into it soon… to be fixed in 2.1.1

 

https://bugs.internet2.edu/jira/browse/GRP-786

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Lynn Garrison
Sent: Friday, May 11, 2012 10:39 AM
To: Grouper Dev
Subject: [grouper-dev] error on delete of group_type with required field.

 

            I created a group_type with 2 attributes; one of the attributes is required.  Using the Grouper UI,  I assigned the group_type to an existing group and set the attributes.  I then tried to remove the group_type from the  group and an error occurred.  Here is the error from the grouper_error.log.  The required field in the group_type is suspend_flag.

 

 

-bash-4.1$ tail -200 grouper_error.log

2012-05-11 10:31:50,530: [TP-Processor3] ERROR GrouperCapableAction.execute(298) - < llg5 38CDEB29A0191CEA07790E693B03EB3C-0011 3af6f8d578ff44899b08bec373989606 llg5 ldap > - java.lang.RuntimeException: Exception removing field: suspend_flag, from group: psu:its:apps:cpr:regAuth:raUsers:UAOReadOnly,

Problem in HibernateSession: HibernateSession: isNew: false, isReadonly: false, grouperTransactionType: READ_WRITE_NEW,

Problem with type: iamCPR,

Problem in HibernateSession: HibernateSession: isNew: false, isReadonly: false, grouperTransactionType: READ_WRITE_NEW

       at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO$3.callback(Hib3GroupDAO.java:233)

       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:523)

       at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.deleteType(Hib3GroupDAO.java:211)

       at edu.internet2.middleware.grouper.Group$8.callback(Group.java:2116)

       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:523)

       at edu.internet2.middleware.grouper.Group.deleteType(Group.java:2094)

       at edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.doTypes(SaveGroupAction.java:355)

       at edu.internet2.middleware.grouper.ui.actions.SaveGroupAction.grouperExecute(SaveGroupAction.java:240)

       at edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction$1.callback(GrouperCapableAction.java:217)

       at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(Hib3TransactionDAO.java:51)

       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:523)

       at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(Hib3TransactionDAO.java:41)

       at edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:72)

       at edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:91)

       at edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.grouperTransactionExecute(GrouperCapableAction.java:214)

       at edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:279)

       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:424)

       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at edu.internet2.middleware.grouper.ui.LoginCheckFilter$1.callback(LoginCheckFilter.java:173)

       at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:654)

       at edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:168)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.java:132)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:807)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

       at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

       at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

       at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

       at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

       at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

       at java.lang.Thread.run(Thread.java:679)

Caused by: edu.internet2.middleware.grouper.exception.GroupModifyException: cannot delete required attribute: suspend_flag,

Problem in HibernateSession: HibernateSession: isNew: false, isReadonly: false, grouperTransactionType: READ_WRITE_NEW

       at edu.internet2.middleware.grouper.Group$5.callback(Group.java:1549)

       at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:523)

       at edu.internet2.middleware.grouper.Group.deleteAttribute(Group.java:1531)

       at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO$3.callback(Hib3GroupDAO.java:231)

       ... 48 more

 

 

Lynn

 




Archive powered by MHonArc 2.6.16.

Top of Page