Home
Analytics
localiize reportContext.getHttpServletRequest().getParameter("userName")
cwrTalgo
<p>First off, a quick summary: We´re running MAM 7.5.0.4 on our production systems with German as the base language, and the requirement to restrict certain users to see only certain data in reports arose.</p>
<p>So I started using</p>
<p><span style="font-family:'courier new', courier, monospace;">var userID = reportContext.getHttpServletRequest().getParameter("userName");<br>
userID = userID.toString().toUpperCase();</span></p>
<p>in the required reports, which works most of the time. The problem is we have several users with german Umlauts in their usernames, which I know is a terrible idea, but was implemented a long time ago (Maximo 4.1) and we cannot undo at the moment. When one of these users executes the report, the Umlauts do not get passed correctly by Maximo to the report and I wind up with something like 'SA�E' for a user named 'SAßE' (which is actually stored 'SASSE' in the database).</p>
<p>I cannot find any information anywhere how Maximo is encoding / decoding these values, I tried parsing the characters one by one into Unicode and back and the do get tranlated wrong.</p>
<p>Does anyone have a solution for this?</p>
<p> </p>
Find more posts tagged with
Comments
There are no comments yet