Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Will Green
Agreed! Sean, please be of a full mind! ;) I'd be happy to be a guinea pig. Giovanni Intini wrote: > 2007/9/6, Sean Cribbs <[EMAIL PROTECTED]>: > >> I'm of a mind to rewrite it as Rake tasks with dependencies. > > That would be great Sean. -- Will Green Find out why this email is 5 sentences

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Giovanni Intini
2007/9/6, Sean Cribbs <[EMAIL PROTECTED]>: > I'm of a mind to rewrite it as Rake tasks with dependencies. That would be great Sean. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Sean Cribbs
IIRC, I left open a hook to add your own models. I didn't put this hook in page_attachments because I couldn't be sure anyone was going to use import_export. Also consider that import_export is half-baked, too. I'm of a mind to rewrite it as Rake tasks with dependencies. Sean Will Green wro

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Giovanni Intini
Import-Export exports only the default rails models. I didn't change that because the production version of my app has already lots of data stored in the extensions tables and I don't want to touch it when I update (importing new version of pages, snippets and stuff). 2007/9/6, Will Green <[EMAIL

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Will Green
Disregard this. I needed to alter vendor/extensions/import_export/lib/exporter.rb, line 3, to specify which models to export. After adding PageAttachment to the end of the list (there has *got* to be a better, more Rails-esque way to do this), my page_attachment records are now exported. I hav

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Will Green
After closer inspection, it appears that the applied patches are causing my page_attachments to be neither exported nor imported (probably because they aren't exported!). Giovanni, since you added a priority field to the extension_meta table, must I now assign a priority to each extension in

[Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Giovanni Intini
Since this is the second time this week someone had problems with the import_export extension, I will post my patches. Use them at your own risk, they have been tested only by Andrea Franz, Will Green and me. I won't post them to the dev site until I have the time to really look into them and clea