Forum .LRN Q&A: creating users bug

Collapse
Posted by Rafael Calvo on
where do we report bugs for dotlrn?
Wehn creating a user in:
/dotlrn/user-add?add_membership_p=f&dotlrn_interactive_p=1&referer=/dotlrn/admin/users

if you don't type the userID you get a:
election did not return a value, and no default was provided
          while executing
      "db_string select {}"
          (procedure "dotlrn::get_portal_id_from_type" line 7)
          invoked from within
      "dotlrn::get_portal_id_from_type -type user"
          (procedure "dotlrn::user_add" line 18)
          invoked from within

I dont think that userID should be mandatory

Collapse
Posted by Rafael Calvo on
BTW,

the user is created despite the error message

Collapse
Posted by Rafael Calvo on
the problem was found on dotlrn running on postgres
Collapse
Posted by Arjun Sanyal on
Rafael: reporting bugs either to the bboards or to mailto:dotlrn@openforce.net is fine with us. Thanks.
Collapse
Posted by Carl Robert Blesius on
<p>It would be great if we had a bug-tracker!
<p>When trying to clone a course...
<br>/dotlrn/classes/physics/heavy-ion-physics/heavy-ion-physics/clone

<p>I get...

<p>Request Error
<br>ora8.c:3930:ora_tcl_command: error in `OCIStmtExecute ()': ORA-00904:
invalid column name

Collapse
Posted by Arjun Sanyal on
Rafael: we've fixed this bug. Note that the UserID is not required, and is simply filled in with the email address is left blank. It's never actually referenced in the code, it's just for convenience.
Collapse
Posted by Arjun Sanyal on
Carl: cloning is working again. And I've added the term improvement that you suggested a while ago. Details to follow in another post.
Collapse
Posted by Carl Robert Blesius on

Arjun: thank you for taking care of those two issues.

I have another one for you:

Editing the name of a custom portlet does change the title shown in the community home. The only way I can change the title that appears in the Community home is to delete the portlet and create a new one with the appropriate title.

And here is a question:

When I change the name of a class this does not change all the places where the name of the class appears (e.g. File Storage, in the URL, and probably a lot of other places I have not found yet)... is this intentional?

Changing the names of classes is something that we have to do quite often on the eLearning system we are presently using. We have learned that what appears in the URL is more important for our users than one would think (in other words: I hope it this is not intentional).

Collapse
Posted by Arjun Sanyal on
carl: editing titles of custom portlets works now, and thanks to
yon's recent changes to the dotlrn applet contract, an initial
version of renaming is finished.

This should fix most of the renaming issues in the portlets, but
changing URLs for communities is going to take a bit longer.

Collapse
Posted by Carl Robert Blesius on
Arjun: I am happy to hear that that the problem with the custom portlet titles
has been fixed... it is also nice to know that the URL behavior I noticed was
not intended and is on your ToDo list.