[Kss-devel] Question about setting status messages in KSS event

Alec Mitchell apm13 at columbia.edu
Thu Dec 6 22:11:55 CET 2007


Hi guys,

I'm trying to fix an issue with CMFEditions where files that are too
large trigger a segfault or recursion error when versioned.  I've got
a fix in place in CMFEditions, that raises a special error under these
circumstances.  The ui scripts catch the error and add a status
message indicating that versioning could not happen.  However, this
needs to work for the inline-edit auto-versioning as well.  I have
something working, but it currently stomps the default portal message
when saving the file.  Is there an alternative to
`plonecommands.issuePortalMessage` that allows multiple messages to
coexist, or will I have to use a special message that indicates that
the file was updated, but that no versioning was performed.

Thanks in advance,
Alec


More information about the Kss-devel mailing list