https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112011-10-06T11:14:54ZRuby Issue Tracking SystemBackport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=211902011-10-06T11:14:54Zjingweno (Owen Ou)jingweno@gmail.com
<ul></ul><p>To reproduce the bug, try this on IRB:</p>
<p>ruby-1.9.2-p290 :001 > require 'yaml'<br>
=> true<br>
ruby-1.9.2-p290 :002 > YAML::load(YAML::dump(Exception.new('test_message')))<br>
=> #<Exception: Exception></p>
<p>I expect to see #<Exception: "test_message"> while the result is #<Exception: Exception>.</p>
<p>I have fixed this problem with a pull request on August 09 2011 which hasn't been merged in till now: <a href="https://github.com/ruby/ruby/pull/41" class="external">https://github.com/ruby/ruby/pull/41</a></p> Backport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=243172012-03-06T00:31:31Zjingweno (Owen Ou)jingweno@gmail.com
<ul></ul><p>Patch was applied: <a href="https://github.com/ruby/ruby/commit/eb1eee03ca13eb13f8bfd02f18d9f5a0d5537" class="external">https://github.com/ruby/ruby/commit/eb1eee03ca13eb13f8bfd02f18d9f5a0d5537</a></p> Backport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=243202012-03-06T02:11:49Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Category</strong> set to <i>ext</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Priority</strong> changed from <i>6</i> to <i>Normal</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied at r34908.</p> Backport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=243222012-03-06T11:41:36Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Backport</i></li><li><strong>Project</strong> changed from <i>Ruby master</i> to <i>Backport193</i></li><li><strong>Category</strong> deleted (<del><i>ext</i></del>)</li><li><strong>Target version</strong> deleted (<del><i>1.9.2</i></del>)</li></ul> Backport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=243232012-03-06T11:41:54Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Open</i></li></ul> Backport193 - Backport #5415: YAML serialization problem for Exceptionhttps://bugs.ruby-lang.org/issues/5415?journal_id=254422012-03-30T14:12:28Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>