[
http://jira.dspace.org/jira/browse/DS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10611#action_10611
]
Larry Stone commented on DS-217:
--------------------------------
I'm happy with this as a resolution to the problem of always embedding
submitter info in the license.
One problem, though, it is yet another different macro substitution language.
Why not use the same macro formatter as the Email class and
i18n,java.text.MessageFormat, so the variables are invoked by {1}, {2} and
admins only have to learn one way to do it? I suppose if it's really necessary
to use this other one, you could crank it through MessageFormat first to turn
"{1}" into "%1$s"
> Hardcoded String in the license bitstream
> -----------------------------------------
>
> Key: DS-217
> URL: http://jira.dspace.org/jira/browse/DS-217
> Project: DSpace 1.x
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.5.0, 1.5.1, 1.5.2
> Reporter: Andrea Bollini
> Assignee: Andrea Bollini
> Priority: Minor
> Attachments: d, DS-217-substitution-variable-license.patch
>
>
> The Item's licenseGranted method hardcoded the string:
> "License granted by " + eperson.getFullName() + " (" + eperson.getEmail() +
> ") on "+ DCDate.getCurrent().toString() + " (GMT):\n\n"
> at the start of the license bitstream. This is not desiderable for some user
> that like to have this text translated and/or in a different position.
> Moreover, could be appropriate move this method in the LicenseStep processing
> class? should we allow the license text itself to contain parameter that will
> be replaced at runtime with current user data and date so that the license
> showed to the user will be exactly the same that will be stored?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel