[Dspace-tech] Anomaly in moving collection to new community

2014-05-28 Thread Alan Orth
Hi,

I've just moved a collection from CommunityA to CommunityB using SQL
like this:

UPDATE community2collection SET community_id=8 WHERE community_id=140
and collection_id=132;

Followed by stopping Tomcat, then running an `index-init`.

Now I see the collection listed in the new community, but when I browse
to the collection itself, the bread crumb trail in the header still
lists the old community as it's parent.

I'm on DSpace 3.1 with PostgreSQL, and I've tested this same procedure
in a test environment with the same DB / environment, where it worked as
expected.

Any pointers? :)

-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone. -Bjarne Stroustrup, inventor of C++
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0



signature.asc
Description: OpenPGP digital signature
--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Anomaly in moving collection to new community

2014-05-28 Thread Hilton Gibson
Hi Alan

Check the cache options.
Try clearing the cache when logged in as admin using the XMLUI.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 28 May 2014 08:36, Alan Orth alan.o...@gmail.com wrote:

 Hi,

 I've just moved a collection from CommunityA to CommunityB using SQL
 like this:

 UPDATE community2collection SET community_id=8 WHERE community_id=140
 and collection_id=132;

 Followed by stopping Tomcat, then running an `index-init`.

 Now I see the collection listed in the new community, but when I browse
 to the collection itself, the bread crumb trail in the header still
 lists the old community as it's parent.

 I'm on DSpace 3.1 with PostgreSQL, and I've tested this same procedure
 in a test environment with the same DB / environment, where it worked as
 expected.

 Any pointers? :)

 --
 Alan Orth
 alan.o...@gmail.com
 http://alaninkenya.org
 http://mjanja.co.ke
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure out how
 to use my telephone. -Bjarne Stroustrup, inventor of C++
 GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0



 --
 Time is money. Stop wasting it! Get your web API in 5 minutes.
 www.restlet.com/download
 http://p.sf.net/sfu/restlet
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Anomaly in moving collection to new community

2014-05-28 Thread Alan Orth
On 05/28/2014 10:26 AM, Hilton Gibson wrote:
 Hi Alan
 
 Check the cache options.
 Try clearing the cache when logged in as admin using the XMLUI.
 
 Cheers
 
 hg
 
 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025D
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa
 
 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://scholar.sun.ac.za
 http://bit.ly/goodir
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson
 
 
 On 28 May 2014 08:36, Alan Orth alan.o...@gmail.com
 mailto:alan.o...@gmail.com wrote:
 
 Hi,
 
 I've just moved a collection from CommunityA to CommunityB using SQL
 like this:
 
 UPDATE community2collection SET community_id=8 WHERE community_id=140
 and collection_id=132;
 
 Followed by stopping Tomcat, then running an `index-init`.
 
 Now I see the collection listed in the new community, but when I browse
 to the collection itself, the bread crumb trail in the header still
 lists the old community as it's parent.
 
 I'm on DSpace 3.1 with PostgreSQL, and I've tested this same procedure
 in a test environment with the same DB / environment, where it worked as
 expected.
 
 Any pointers? :)
 
 --
 Alan Orth
 alan.o...@gmail.com mailto:alan.o...@gmail.com
 http://alaninkenya.org
 http://mjanja.co.ke
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure out how
 to use my telephone. -Bjarne Stroustrup, inventor of C++
 GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
 
 
 
 --
 Time is money. Stop wasting it! Get your web API in 5 minutes.
 www.restlet.com/download http://www.restlet.com/download
 http://p.sf.net/sfu/restlet
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 

Hilton,

Ah, indeed.  It was indeed the Cocoon cache.  Thank you, I was going
crazy. :)

-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone. -Bjarne Stroustrup, inventor of C++
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0



signature.asc
Description: OpenPGP digital signature
--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette