Forum .LRN Q&A: Re: Mounting the Homework Portlet

Posted by Eduardo Pérez on
dotlrn-homework doesn't seem to be an OpenACS application although is marked as such.
Should this patch be applied?
--- dotlrn-homework/
+++ dotlrn-homework/
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- Generated by the OpenACS Package Manager -->

-<package key="dotlrn-homework" url="" type="apm_application">
+<package key="dotlrn-homework" url="" type="apm_service">
    <package-name>dotLRN Homework</package-name>
    <pretty-plural>dotLRN Homework</pretty-plural>

What version of OpenACS and dotLRN are you using?

I have OpenACS CVS HEAD with dotLRN CVS head working.

I have dotlrn-homework working but I found the bug:
I don't know where's the problem, so I can't fix it.
I have a workaround (just for testing the package):
--- dotlrn-homework/www/master.tcl~
+++ dotlrn-homework/www/master.tcl
@@ -1 +1 @@
-set context_bar [eval ad_context_bar -node_id [site_node::get_parent_id -node_id [ad_conn node_id]] $context_bar]
+set context_bar [eval ad_context_bar -node_id [site_node::get_parent_id -node_id [ad_conn node_id]] ""]

If you are using CVS versions like me:
I had to source the files in:
Why did someone delete them if they are needed for dotlrn-homework to work?