ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Issue and Case Management

bug in knowledge base?

You need to be logged in to post messages

This question is unanswered

bug in knowledge base?

2/28/2008 12:33 PM EST

I'm getting the following error when I try to add an entry to the knowledge base. This is the first time I'm trying to add an entry to it. I'm not sure if this is a bug, or if there's something I missed in the configuration.

---
An Error Has Occurred Please report the following error to Concourse Suite Community Edition

You may be able to hit the back button on your browser, review your selection, and try your request again.

The actual error is:

java.sql.SQLException: ERROR: insert or update on table "knowledge_base" violates foreign key constraint "knowledge_base_status_fkey"
Detail: Key (status)=(1) is not present in table "lookup_kb_status".
at org.aspcfs.modules.troubletickets.base.KnowledgeBase.insert(Unknown Source)
at org.aspcfs.modules.troubletickets.actions.KnowledgeBaseManager.executeCommandSave(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)

1. 3/6/2008 7:17 PM EST

I fixed this by uncommenting the two INSERT statements at the end of src/sql/postgresql/upgrade/2007-02-16-script01-alugubillis.sql and running the script. The lookup_kb_status table was empty.

1 result found