<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        color:black;
        font-weight:bold;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";
        color:black;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi, Mang<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I just successfully tested the public formats plugin for all three options.  I tested it in a localhost install using the embedded Derby database. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Brad W. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> archivesspace_users_group-bounces@lyralists.lyrasis.org
 [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org] <b>On Behalf Of
</b>Mang Sun<br>
<b>Sent:</b> Monday, April 06, 2015 1:15 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] The ead_pdf link generated by plugin public_formats_resource_links does not work with AS 1.2<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Can somebody or the development team confirm whether the public_formats_resource_links plugin still works with AS 1.2?
<br>
<br>
Mang Sun<br>
Rice U.<o:p></o:p></p>
<div>
<p class="MsoNormal">On 4/2/2015 10:49 AM, Mang Sun wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">When clicking the ead_pdf link turned on by the public_formats_resource_links plugin does not work with AS 1.2 throwing the error message as follows.       -Mang Sun Rice U.<o:p></o:p></p>
<h1>EOFError in PublicFormatsController#generate <o:p></o:p></h1>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">Rails.root: /opt/download/ASpace/archivesspace-1.2.0/public</span></code><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<h2 style="margin-top:22.5pt">Request<o:p></o:p></h2>
<p><b>Parameters</b>: <o:p></o:p></p>
<pre>{"repo_id"=>"2",<o:p></o:p></pre>
<pre> "type"=>"resources",<o:p></o:p></pre>
<pre> "id"=>"116",<o:p></o:p></pre>
<pre> "format"=>"ead_pdf"}<o:p></o:p></pre>
<p><a href="http://10.74.22.26:3001/repositories/2/resources/116/format/ead_pdf">Show session dump</a><o:p></o:p></p>
<div id="session_dump">
<pre>_csrf_token: "PSHg/+xWc6vsA3SkFp5yNu544UvTf9agbMpz6ZY3ir0="<o:p></o:p></pre>
<pre>session_id: "c419289cb412f46af571004e4b0c0830"<o:p></o:p></pre>
</div>
<p><a href="http://10.74.22.26:3001/repositories/2/resources/116/format/ead_pdf">Show env dump</a><o:p></o:p></p>
<div id="env_dump">
<pre>GATEWAY_INTERFACE: "CGI/1.2"<o:p></o:p></pre>
<pre>HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"<o:p></o:p></pre>
<pre>HTTP_ACCEPT_ENCODING: "gzip, deflate"<o:p></o:p></pre>
<pre>HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.5"<o:p></o:p></pre>
<pre>REMOTE_ADDR: "10.xx.xx.xx"<o:p></o:p></pre>
<pre>SERVER_NAME: "10.xx.22.xx"<o:p></o:p></pre>
<pre>SERVER_PROTOCOL: "HTTP/1.1"<o:p></o:p></pre>
</div>
<h2 style="margin-top:22.5pt">Response<o:p></o:p></h2>
<p><b>Headers</b>: <o:p></o:p></p>
<pre>None<o:p></o:p></pre>
<pre>-----------------<o:p></o:p></pre>
<pre>The Full trace is pasted as below.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><code>org/jruby/RubyIO.java:2858:in `read_nonblock'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:141:in `rbuf_fill'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:122:in `readuntil'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:132:in `readline'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2779:in `read_chunked'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2759:in `read_body_0'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2719:in `read_body'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2744:in `body'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2681:in `reading_body'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1330:in `transport_request'<o:p></o:p></code></pre>
<pre><code>org/jruby/RubyKernel.java:1270:in `catch'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1325:in `transport_request'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1302:in `request'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1295:in `request'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:746:in `start'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1293:in `request'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/plugins/aspace-public-formats/public/controllers/public_formats_controller.rb:18:in `handle'<o:p></o:p></code></pre>
<pre><code>/opt/download/ASpace/archivesspace-1.2.0/plugins/aspace-public-formats/public/controllers/public_formats_controller.rb:5:in `generate'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `process_action'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:439:in `_run__487387345__process_action__240924115__callbacks'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:390:in `_run_process_action_callbacks'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `process_action'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:19:in `instrument'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_controller/metal.rb:246:in `action'<o:p></o:p></code></pre>
<pre><code>org/jruby/RubyProc.java:271:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'<o:p></o:p></code></pre>
<pre><code>journey (1.0.4) lib/journey/router.rb:68:in `call'<o:p></o:p></code></pre>
<pre><code>org/jruby/RubyArray.java:1613:in `each'<o:p></o:p></code></pre>
<pre><code>journey (1.0.4) lib/journey/router.rb:56:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/etag.rb:23:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `call'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:408:in `_run__1026630806__call__1019491275__callbacks'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:390:in `_run_call_callbacks'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/reloader.rb:65:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/runtime.rb:17:in `call'<o:p></o:p></code></pre>
<pre><code>activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/lock.rb:15:in `call'<o:p></o:p></code></pre>
<pre><code>actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/engine.rb:484:in `call'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/application.rb:231:in `call'<o:p></o:p></code></pre>
<pre><code>rack (1.4.5) lib/rack/content_length.rb:14:in `call'<o:p></o:p></code></pre>
<pre><code>railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'<o:p></o:p></code></pre>
<pre><code>puma-2.8.2 (java) lib/puma/server.rb:490:in `handle_request'<o:p></o:p></code></pre>
<pre><code>puma-2.8.2 (java) lib/puma/server.rb:488:in `handle_request'<o:p></o:p></code></pre>
<pre><code>puma-2.8.2 (java) lib/puma/server.rb:361:in `process_client'<o:p></o:p></code></pre>
<pre><code>puma-2.8.2 (java) lib/puma/server.rb:254:in `run'<o:p></o:p></code></pre>
<pre><code>org/jruby/RubyProc.java:271:in `call'<o:p></o:p></code></pre>
<pre><code>puma-2.8.2 (java) lib/puma/thread_pool.rb:92:in `spawn_thread'</code><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Archivesspace_Users_Group mailing list<o:p></o:p></pre>
<pre><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><o:p></o:p></pre>
<pre><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>