Bug #1092
4.1-release is broken?
| Status : | Closed | Start : | ||
| Priority : | High | Due date : | ||
| Assigned to : | neuro - | % Done : | 0% |
|
| Category : | textfilters | |||
| Target version : | 5.0 | |||
| Resolution : | wontfix |
Description
I installed Typo 4.1 (using svn export), but it does not work.
I got this error screen:
Showing app/views/admin/general/index.rhtml where line#89raised: superclass mismatch for class MacroPost Extracted source (around line#89): 86: <li> 87: <label class="float" for="text_filter"><%= _("Article filter")%>:</label> 88: <select name="setting[text_filter]" id="text_filter"> 89: <%= options_for_select text_filter_options, TextFilter.find_by_name(this_blog.text_filter) %> 90: </select> 91: </li> 92: <li>
rake test:units failed too:
rake test:units
(in /home/webpark/hitman.name/typo)
/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader.rb" "test/unit/amazon_sidebar_test.rb" "test/unit/user_test.rb" "test/unit/notification_mailer_test.rb" "test/unit/delicious_test.rb" "test/unit/static_sidebar_test.rb" "test/unit/blog_test.rb" "test/unit/article_test.rb" "test/unit/trackback_test.rb" "test/unit/notification_test.rb" "test/unit/magnolia_test.rb" "test/unit/resource_test.rb" "test/unit/fortythree_test.rb" "test/unit/ping_test.rb" "test/unit/cache_support_test.rb" "test/unit/audioscrobbler_test.rb" "test/unit/page_cache_test.rb" "test/unit/redirect_test.rb" "test/unit/comment_test.rb" "test/unit/theme_test.rb" "test/unit/trigger_test.rb" "test/unit/blacklist_pattern_test.rb" "test/unit/configuration_test.rb" "test/unit/sidebar_test.rb" "test/unit/metafragment_test.rb" "test/unit/flickr_test.rb" "test/unit/tag_test.rb" "test/unit/page_test.rb" "test/unit/category_test.rb" "test/unit/text_filter_test.rb" "test/unit/content_state/factory_test.rb" "test/unit/content_state/feedback_states_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
.......................................................................................................................................................F..............................
Finished in 19.066426 seconds.
1) Failure:
test_filtertypes(TextFilterTest)
[./test/unit/text_filter_test.rb:80:in @test_filtertypes'
./test/unit/content_state/../../test_helper.rb:22:in @+send+'
./test/unit/content_state/../../test_helper.rb:22:in @run']:
<false> is not true.
182 tests, 537 assertions, 1 failures, 0 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby...]
(See full trace by running task with --trace)
I suspect something wrong with textfilters ...
History
03/18/2007 02:25 AM - mithrandir -
I alos have same error.
It seems that 'TextFilterPlugin' constant(class) disappear somewhere.
03/18/2007 02:50 AM - mithrandir -
TextFilterPlugin is remove from namespace by 'clear', by activesupport/dependencies. However such as MacroPost or MacroPre or Typo::Textfilter::Markdown is still in namespace. This cause some conflict of TextFilterPlugin const name.
03/18/2007 02:54 AM - mithrandir -
This situation doesn't occur in production environment, maybe it doesn't call clear method
