Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DS-2447] Booleans from altmetrics.cfg don't work properly. #860

Closed

Conversation

rivaldi8
Copy link
Contributor

@rivaldi8 rivaldi8 commented Feb 6, 2015

@tdonohue tdonohue added the bug label Aug 18, 2015
@tdonohue tdonohue added this to the 6.0 milestone Aug 18, 2015
@@ -40,10 +40,10 @@

<xsl:template name="itemSummaryView-DIM">
<!-- optional: Altmeric.com badge and PlumX widget -->
<xsl:if test='confman:getProperty("altmetrics", "altmetric.enabled") and ($identifier_doi or $identifier_handle)'>
<xsl:if test="confman:getProperty('altmetrics', 'altmetric.enabled') = 'true' and ($identifier_doi or $identifier_handle)">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR will need to be updated for the enhanced Configuration system (see #1104).

The confman:getProperty calls all call the ConfigurationManager. Now, if you pass it two params, they are just appended together. So, this call will end up trying to load a property named altmetrics.altmetric.enabled from altmetrics.cfg. The correct property is simply altmetric.enabled

@rivaldi8 rivaldi8 force-pushed the DS-2447-booleans-altmetrics.cfg branch from f7a4fc9 to 98c453b Compare April 25, 2016 07:49
@rivaldi8
Copy link
Contributor Author

I've updated the pull request removing the configuration prefix.

@tdonohue tdonohue modified the milestones: 6.1, 6.0 Dec 7, 2016
@tdonohue
Copy link
Member

Closing as this PR must be recreated on dspace-6_x branch. XMLUI has been removed from master. See this mailing list notice: https://groups.google.com/d/msg/dspace-devel/aEFqSn46ryM/iPRr_IMLCwAJ

@tdonohue tdonohue closed this Feb 21, 2017
@tdonohue tdonohue removed this from the 6.1 milestone Feb 21, 2017
kosarko added a commit to kosarko/DSpace that referenced this pull request Jul 10, 2018
* Debug logging from PiwikTracker

* Limit what's tracked
frabacche pushed a commit to 4Science/DSpace that referenced this pull request Mar 27, 2024
[CST-10326] Changed the relationAuthorResearchOutputsConfiguration defaultFilterQueries. Now edited books show up on the individual profile page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants