Hi all,
I've been helping Jon Griffin port acs-mail and I was trying to merge
the functionality that's in acs-notifications into acs-mail. I've run
into a problem, though. acs-mail stores content in acs-content (not
acs-content-repository). What is acs-content? It's supposed to be a
lightweight version of the CR. Like the old aD CR, it stores
everything in a blob. When acs-content was ported, the only change was
to convert the 'content' column from a blob to an integer. I suppose
this was done to use Don's lob hack (which I haven't used before, so I
don't completely understand). But the .tcl code in acs-mail still
depends on
'content' being a blob. And I can't figure out how I'm supposed to
call acs_content__new:
create function acs_content__new (integer,varchar,varchar,char,integer)
returns integer as '
declare
new__content_id alias for $1;
new__mime_type alias for $2;
new__nls_language alias for $3;
new__searchable_p alias for $4;
new__content alias for $5;
...
I did a quick grep through the packages and it seems that acs-mail is
the only package that uses acs-content. So it seems that there are a
few options:
- Change acs-mail to use the CR
- Change acs-content to accept a text column (which seems kinda like
duplicating the CR functionality)
- Some other intelligent thing that I'm overlooking
I'm leaning towards #1, but I know that acs-mail was meant to use
acs-content and I suppose there were good reasons for this. (lower
overhead, easier garbage collection?). So, I guess I'm looking for a
little advice on how to proceed...