<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">Since upgrading to 2.2.0, most Reports have been broken for us. </div>
<div class="">We also had some problems with a database migration to a new server, where initially the MySQL functions used in the reports module were missing. We have since restored those functions, but reports are still broken, but for a different reason. </div>
<div class=""><br class="">
</div>
<div class="">Is anyone else seeing a problem ? </div>
<div class=""><br class="">
</div>
<div class="">None of the current errors seem to be related to MySQL, so I don’t believe those earlier issues are involved. </div>
<div class=""><br class="">
</div>
<div class="">Some reports, like Location Report complete successfully, but all Accessions Reports seem to fail. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><span style="color: rgb(51, 238, 51); font-family: monospace; font-size: 13px; white-space: pre; background-color: rgb(51, 51, 51);" class="">Generating report undefined method `orientation=' for #<UnprocessedAccessionsReport:0x7f80f16> Did you
mean? orientation (erb):6:in `<eval>' org/jruby/RubyKernel.java:1000:in `eval' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/erb.rb:864:in `result' /projects/Archivespace/dcs-archivesspace/backend/app/lib/reports/report_response.rb:50:in `render' /projects/Archivespace/dcs-archivesspace/backend/app/lib/reports/report_response.rb:21:in
`block in generate' /projects/Archivespace/dcs-archivesspace/backend/app/lib/reports/json_response.rb:5:in `initialize' /projects/Archivespace/dcs-archivesspace/backend/app/lib/reports/report_response.rb:27:in `generate' /projects/Archivespace/dcs-archivesspace/backend/app/lib/job_runners/reports_runner.rb:37:in
`block in run' /projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:111:in `block in open' /projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:75:in `block in transaction' /projects/Archivespace/dcs-archivesspace/build/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:134:in
`_transaction' /projects/Archivespace/dcs-archivesspace/build/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:108:in `block in transaction' /projects/Archivespace/dcs-archivesspace/build/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98:in
`hold' /projects/Archivespace/dcs-archivesspace/build/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255:in `synchronize' /projects/Archivespace/dcs-archivesspace/build/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:97:in `transaction'
/projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:74:in `transaction' /projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:110:in `block in open' org/jruby/RubyFixnum.java:305:in `times' /projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:107:in
`open' /projects/Archivespace/dcs-archivesspace/backend/app/model/db.rb:432:in `block in DB' /projects/Archivespace/dcs-archivesspace/backend/app/lib/job_runners/reports_runner.rb:36:in `run' /projects/Archivespace/dcs-archivesspace/backend/app/lib/background_job_queue.rb:126:in
`run_pending_job' /projects/Archivespace/dcs-archivesspace/backend/app/lib/background_job_queue.rb:169:in `block in start_background_thread' Done.</span></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I have gotten them to run successfully by commenting out this line:</div>
<div class="">
<table class="js-file-line-container highlight tab-size" data-tab-size="8" style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; tab-size: 8; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;">
<tbody style="box-sizing: border-box;" class="">
<tr style="box-sizing: border-box;" class="">
</tr>
<tr style="box-sizing: border-box;" class="">
<td id="LC6" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);">
<span class="pl-sre" style="box-sizing: border-box;"># <span class="pl-smi" style="box-sizing: border-box;">
@report</span>.orientation <span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73);">
=</span> <span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);">
<span class="pl-pds" style="box-sizing: border-box;">'</span>landscape<span class="pl-pds" style="box-sizing: border-box;">'</span></span></span></td>
</tr>
<tr style="box-sizing: border-box;" class="">
<td id="L7" class="blob-num js-line-number" data-line-number="7" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;">
</td>
</tr>
</tbody>
</table>
in: <a href="https://github.com/archivesspace/archivesspace/blob/master/backend/app/views/reports/report.erb#L6" class="">https://github.com/archivesspace/archivesspace/blob/master/backend/app/views/reports/report.erb#L6</a></div>
<div class=""><br class="">
</div>
<div class="">But this is not a new addition and was not (I believe) broken earlier. </div>
<div class="">This seems like it may be related to the assessment module addition, but I’m not sure exactly how. </div>
<div class=""><br class="">
</div>
<div class="">— Steve. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</body>
</html>