Hi!
I am trying to create a property group as it is described in this post http://www.openkm.com/Usage/1790-ReTrac ... .html#1790.
Here are my files:
OKM-009006(getMetaData): Internal repository error
For input string "draft"
And I can't choose values for the property
Here is the message from the server.log:
I am trying to create a property group as it is described in this post http://www.openkm.com/Usage/1790-ReTrac ... .html#1790.
Here are my files:
Code: Select all
Than I can register PropertyGroup.cnd without error. I can even add this property group to the file and after thath I have a popup dialog box with error: PropertyGroup.cnd
<okm = 'http://www.openkm.org/1.0'>
<okg = 'http://www.openkm.org/group/1.0'>
<okp = 'http://www.openkm.org/group/property/1.0'>
[okg:status2] mixin
- okp:status2.tipo (string) = '' autocreated
- okp:status2.comentario (string) = '' autocreated
PropertyGroupValues.properties
okp\:status2.tipo=3,draft,peerreviewed,approved
okp\:status2.comentario=2
PropertyGroupBundle.properties
okg\:status2=Document Status2
okp\:status2.tipo=Document Status2
okp\:status2.tipo.draft=Draft
okp\:status2.tipo.peerreviewed=Peer reviewed
okp\:status2.tipo.approved=Approved
okp\:status2.comentario=Comments
OKM-009006(getMetaData): Internal repository error
For input string "draft"
And I can't choose values for the property
Here is the message from the server.log:
Code: Select all
2010-01-06 14:25:08,340 ERROR [es.git.openkm.backend.server.OKMPropertyGroupServletAdmin] For input string: "draft"
java.lang.NumberFormatException: For input string: "draft"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:514)
at es.git.openkm.module.direct.DirectPropertyGroupModule.parseMetadata(DirectPropertyGroupModule.java:388)
at es.git.openkm.module.direct.DirectPropertyGroupModule.getMetaData(DirectPropertyGroupModule.java:326)
at es.git.openkm.api.OKMPropertyGroup.getMetaData(OKMPropertyGroup.java:137)
at es.git.openkm.backend.server.OKMPropertyGroupServletAdmin.getMetaData(OKMPropertyGroupServletAdmin.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:636)