Re: [Dspace-tech] displaying full titles for pool tasks

2015-03-07 Thread helix84
Please, always reply to the mailing list.

I don't have XMLWorkflow turned on, so I didn't try with that, but
removing the ifs works with my regular submission. Perhaps you
overlooked that the shortening branch is there 3 times for each of the
sections on that page?

https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L206-207
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L292-293
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L394-395


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Mar 6, 2015 at 7:22 PM, Bran, Adela adela.b...@gesis.org wrote:
 Thank you for the reply. Yes, I am sure we are using XMLWorkflow. And I have 
 also tried commenting the ifs which shorten the displayTitle from the other 
 classes, without any success. Any other hints?

 Best regards,
 Adela Bran

 GESIS - Leibniz-Institut für Sozialwissenschaften
 Computational Social Science
 Unter Sachsenhausen 6-8, 50667 Köln
 adela.b...@gesis.org

 www.gesis.org

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] displaying full titles for pool tasks

2015-03-07 Thread Bran, Adela

I am aware it appears three times: once for the claimed tasks, once for the 
tasks in the pool and one for all the submissions that this user has submitted 
which are currently under review. I have commented out all of them, still 
without any success. Except packaging and updating the code, is there anything 
else I need to do? Thanks.

Best,

Adela 


From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] on behalf of helix84 
[heli...@centrum.sk]
Sent: Saturday, March 07, 2015 10:19 AM
To: Bran, Adela
Cc: dspace-tech
Subject: Re: [Dspace-tech] displaying full titles for pool tasks

Please, always reply to the mailing list.

I don't have XMLWorkflow turned on, so I didn't try with that, but
removing the ifs works with my regular submission. Perhaps you
overlooked that the shortening branch is there 3 times for each of the
sections on that page?

https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L206-207
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L292-293
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L394-395


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Mar 6, 2015 at 7:22 PM, Bran, Adela adela.b...@gesis.org wrote:
 Thank you for the reply. Yes, I am sure we are using XMLWorkflow. And I have 
 also tried commenting the ifs which shorten the displayTitle from the other 
 classes, without any success. Any other hints?

 Best regards,
 Adela Bran

 GESIS - Leibniz-Institut für Sozialwissenschaften
 Computational Social Science
 Unter Sachsenhausen 6-8, 50667 Köln
 adela.b...@gesis.org

 www.gesis.org
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] displaying full titles for pool tasks

2015-03-07 Thread Bran, Adela

I only do a mvn package in [dspace-source], so maybe that is the issue. I will 
see if ant-update solves the issue on Monday. Thanks.


Best regards,

Adela

GESIS - Leibniz-Institut für Sozialwissenschaften
Computational Social Science
Unter Sachsenhausen 6-8, 50667 Köln



From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] on behalf of helix84 
[heli...@centrum.sk]
Sent: Saturday, March 07, 2015 11:50 AM
To: Bran, Adela
Cc: dspace-tech
Subject: Re: [Dspace-tech] displaying full titles for pool tasks

On Sat, Mar 7, 2015 at 11:03 AM, Bran, Adela adela.b...@gesis.org wrote:
 I am aware it appears three times: once for the claimed tasks, once for the 
 tasks in the pool and one for all the submissions that this user has 
 submitted which are currently under review. I have commented out all of them, 
 still without any success. Except packaging and updating the code, is there 
 anything else I need to do? Thanks.

Are you sure that you're using the full rebuild? In general, you
should run maven from [dspace-source], not in [dspace-source]/dspace/.
https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease

The procedure is:
mvn package (in [dspace-source])
ant update (in [dspace-source]/dspace/target/dspace-installer/)
restart tomcat

If you're switching between DSpace releases or working with the master
branch, do a mvn clean package to avoid multiple versions of the
same .jar being present in the build, in which case it's generally
unpredictable which version tomcat will pick up.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] displaying full titles for pool tasks

2015-03-07 Thread helix84
On Sat, Mar 7, 2015 at 11:03 AM, Bran, Adela adela.b...@gesis.org wrote:
 I am aware it appears three times: once for the claimed tasks, once for the 
 tasks in the pool and one for all the submissions that this user has 
 submitted which are currently under review. I have commented out all of them, 
 still without any success. Except packaging and updating the code, is there 
 anything else I need to do? Thanks.

Are you sure that you're using the full rebuild? In general, you
should run maven from [dspace-source], not in [dspace-source]/dspace/.
https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease

The procedure is:
mvn package (in [dspace-source])
ant update (in [dspace-source]/dspace/target/dspace-installer/)
restart tomcat

If you're switching between DSpace releases or working with the master
branch, do a mvn clean package to avoid multiple versions of the
same .jar being present in the build, in which case it's generally
unpredictable which version tomcat will pick up.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] displaying full titles for pool tasks

2015-03-06 Thread helix84
On Fri, Mar 6, 2015 at 4:55 PM, Bran, Adela adela.b...@gesis.org wrote:
 by making some changes in the Submissions class
 (org.dspace.app.xmlui.aspect.xmlworkflow.Submissions.java). More precisely

Are you sure you're using XMLWorkflow? This is an optional module that
has to be enabled.
Check out these classes:

dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/Submissions.java
dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/workflow/Submissions.java
dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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