Answering my own question - the comment for the doIt() method is
incorrect, saying that it should be run when database attachments are
in use and the changes to config for filesystem attachments should be
made after running it. If one changes to filesystem attachments first,
the script works.
On Tue, Feb 28, 2012 at 2:19 PM, Brian Forsythe
<brian.t.forsythe(a)gmail.com> wrote:
I currently have my attachments stored in the database
and am
attempting to migrate to filesystem storage. Toggling it seems to work
fine for new attachments. My issue is with migrating attachments via
the FileSystem Attachment Porter script
(
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…).
Before running it, I change my config so that I'm back to using
database attachments. I've updated the obsolete class references, and
also whittled it down to just the doIt() method, but when running it,
I receive the exception "Unknown entity:
org.xwiki.store.legacy.doc.internal.ListAttachmentArchive"
Please advise.
Thanks ahead,
Brian