Hello,

I am working on an extension that adds a bit extra seo options to radiant. Notably it has a r:page_title tag that allows for keyword rich html title while retaining short r:page:titles. It also alters the r:link tag slightly adding a title attribute to the link generated containing more keyword rich text. I am currently working on added automated sitemap.xml and robots.txt generation. I am adding adding priority and crawable fields to the page item.

That is the point at which I am running into a problem with a migration(s).

I had written a couple migrations which at the time worked. After working on some other things for a while I am working on the extension again. Now I can not migrate up or down. I can not migrate the old migrations. I am totally at a loss.

Any idea of where to look or what to try would be a big help

The error:

$ rake radiant:extensions:rad_seo:migrate --trace
** Invoke radiant:extensions:rad_seo:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** has_many_polymorphs: rails environment detected
** Execute radiant:extensions:rad_seo:migrate
rake aborted!
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.info
/home/alan/Rails/gapd/vendor/radiant/vendor/rails/activerecord/lib/active_record/migration.rb:347:in `migrate_without_extension_support' /home/alan/Rails/gapd/vendor/radiant/vendor/rails/activerecord/lib/active_record/migration.rb:339:in `each' /home/alan/Rails/gapd/vendor/radiant/vendor/rails/activerecord/lib/active_record/migration.rb:339:in `migrate_without_extension_support' /home/alan/Rails/gapd/vendor/radiant/lib/radiant/extension_migrator.rb:33:in `migrate'
/home/alan/Rails/gapd/vendor/extensions/rad_seo/lib/tasks/rad_seo_extension_tasks.rake:11
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19


--
Alan
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to