Forum .LRN Q&A: Re: Forums + Attachments in dotlrn 2.0 broken

Collapse
Posted by Nick Carroll on
Copied fs-simple-procs.tcl and xql files from http://cvs.openacs.org/cvs/openacs-4/packages/file-storage/tcl/Attic/?only_with_tag=pre-i18n.  For some reason they have been placed in the Attic since pre-i18n.

Anyway, I can now attach URLs to forum postings.

Anybody know why the fs-simple-procs files were left out of OpenACS 5.0.0?

Collapse
Posted by Nick Carroll on
This was the note made when the fs-simple-procs files were removed from the repository.  It seems the problem is an attachments package problem, as it uses a tcl function that no longer exists.

Revision 1.4.2.1
Thu Mar 20 22:13:59 2003 UTC (9 months ago) by donb
Branch: oacs-4-6
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed the vile fs_simple_objects added by OF to store URLs in file
storage despite the existence of a non-versioned URL type in the content
repository.  Upgrade scripts provided.  I added Tcl API to the content
repository to honor our desire to export the SQL API to Tcl client code.

1. folder contents are now counted correctly (bug fix)
2. The fs_objects view is now usable in PG (it was a UNION view before and
  therefore didn't scale)
3. Code in file storage is considerably simpler now and all file storage
  objects are now stored in the content repository, as they should
  be.

The Oracle version may need some work I'll finish testing this afternoon.

Collapse
Posted by Nick Carroll on
Final solution is to replace attachments/www/simple-add.tcl with file-storage/www/simple-add.tcl.