[
https://issues.apache.org/jira/browse/CONNECTORS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13255511#comment-13255511
]
Karl Wright commented on CONNECTORS-435:
Looks generally good, although I didn't check every line. However, I did see
one weird thing:
{code}
-
nobr+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(param)+=+Integer.toString(kmanager.getContents().length)+
+ Messages.getString(locale,DCTM.certificate) + /nobrbr/\n
+
nobr+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(param)+=+Integer.toString(kmanager.getContents().length)+
+ Messages.getAttributeString(locale,DCTM.certificate) + /nobrbr/\n
{code}
The issue here is that the and for the message are not tags. They should
in fact be lt; and gt;, so that the line should originally read:
{code}
nobr+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(param)+=lt;+Integer.toString(kmanager.getContents().length)+
+ Messages.getString(locale,DCTM.certificate) + gt;/nobrbr/\n
{code}
Once that is done it is clear that you need Messages.getBodyString() here, not
Messages.getAttributeString().
Replace incorrect Messages.getString() calls in the main UI with correct ones.
--
Key: CONNECTORS-435
URL: https://issues.apache.org/jira/browse/CONNECTORS-435
Project: ManifoldCF
Issue Type: Task
Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Erlend Garåsen
Assignee: Erlend Garåsen
Fix For: ManifoldCF 0.6
Attachments: CONNECTORS-435.patch
The Messages.getString() calls in the main UI are incorrect much of the time.
They should usually be replaced by one of:
{code}
Messages.getBodyJavascriptString()
Messages.getAttributeJavascriptString()
Messages.getBodyString()
Messages.getAttributeString()
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira