I had some trouble with the page ordering not working properly (with the radiant-reorder-extension). Turns out it was caused by the radiant-tags-extension which adds a setter for meta_tags to Page:

  def meta_tags= tags
      self.save if self.new_record?
      ...

The problem with this is that if you create a new Page, the save method would get called twice and all after_save callbacks get called twice.
I refactored it to use a after_save call_back: 
http://github.com/p8/radiant-tags-extension/commits/0.7.1-fixes
This might be something other extension developers should be aware of so bugs like this can be avoided .

Petrik
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to