[Radiant] import_export patches for user errors (and extensions)
Giovanni Intini
intinig at gmail.com
Thu Sep 6 02:09:37 CDT 2007
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 <will at hotgazpacho.org>:
> 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 have yet to try importing with this fix in place, though.
>
> Will Green wrote:
> > 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 order for them to be
> > processed at all?
> >
>
> --
> Will Green
>
> Find out why this email is 5 sentences or less at http://five.sentec.es/
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list