Add notes for 2016-08-18

This commit is contained in:
Alan Orth 2016-08-18 15:48:32 +03:00
parent 52ecf68e0a
commit 8c988792c2
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 39 additions and 0 deletions

View File

@ -129,3 +129,12 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
- Oops, it looks like the missing classes causing `dspace database` to fail were coming from the old `~/dspace/config/spring` folder
- After removing the spring folder and running ant install again, `dspace database` works
- I see there are missing and pending Flyway migrations, but running `dspace database repair` and `dspace database migrate` does nothing: https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70
## 2016-08-18
- Fix "CONGO,DR" country name in `input-forms.xml` ([#264](https://github.com/ilri/DSpace/pull/264))
- Also need to fix existing records using the incorrect form in the database:
```
dspace=# update metadatavalue set text_value='CONGO, DR' where resource_type_id=2 and metadata_field_id=228 and text_value='CONGO,DR';
```

View File

@ -233,6 +233,16 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
<li>I see there are missing and pending Flyway migrations, but running <code>dspace database repair</code> and <code>dspace database migrate</code> does nothing: <a href="https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70">https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70</a></li>
</ul>
<h2 id="2016-08-18">2016-08-18</h2>
<ul>
<li>Fix &ldquo;CONGO,DR&rdquo; country name in <code>input-forms.xml</code> (<a href="https://github.com/ilri/DSpace/pull/264">#264</a>)</li>
<li>Also need to fix existing records using the incorrect form in the database:</li>
</ul>
<pre><code>dspace=# update metadatavalue set text_value='CONGO, DR' where resource_type_id=2 and metadata_field_id=228 and text_value='CONGO,DR';
</code></pre>
</section>
<footer>

View File

@ -170,6 +170,16 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
&lt;li&gt;After removing the spring folder and running ant install again, &lt;code&gt;dspace database&lt;/code&gt; works&lt;/li&gt;
&lt;li&gt;I see there are missing and pending Flyway migrations, but running &lt;code&gt;dspace database repair&lt;/code&gt; and &lt;code&gt;dspace database migrate&lt;/code&gt; does nothing: &lt;a href=&#34;https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70&#34;&gt;https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-08-18&#34;&gt;2016-08-18&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Fix &amp;ldquo;CONGO,DR&amp;rdquo; country name in &lt;code&gt;input-forms.xml&lt;/code&gt; (&lt;a href=&#34;https://github.com/ilri/DSpace/pull/264&#34;&gt;#264&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Also need to fix existing records using the incorrect form in the database:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set text_value=&#39;CONGO, DR&#39; where resource_type_id=2 and metadata_field_id=228 and text_value=&#39;CONGO,DR&#39;;
&lt;/code&gt;&lt;/pre&gt;
</description>
</item>

View File

@ -170,6 +170,16 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
&lt;li&gt;After removing the spring folder and running ant install again, &lt;code&gt;dspace database&lt;/code&gt; works&lt;/li&gt;
&lt;li&gt;I see there are missing and pending Flyway migrations, but running &lt;code&gt;dspace database repair&lt;/code&gt; and &lt;code&gt;dspace database migrate&lt;/code&gt; does nothing: &lt;a href=&#34;https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70&#34;&gt;https://gist.github.com/alanorth/41ed5abf2ff32d8ac9eedd1c3d015d70&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-08-18&#34;&gt;2016-08-18&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Fix &amp;ldquo;CONGO,DR&amp;rdquo; country name in &lt;code&gt;input-forms.xml&lt;/code&gt; (&lt;a href=&#34;https://github.com/ilri/DSpace/pull/264&#34;&gt;#264&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Also need to fix existing records using the incorrect form in the database:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set text_value=&#39;CONGO, DR&#39; where resource_type_id=2 and metadata_field_id=228 and text_value=&#39;CONGO,DR&#39;;
&lt;/code&gt;&lt;/pre&gt;
</description>
</item>