Closed GoogleCodeExporter closed 8 years ago
I believe this is fixed. The getPopulatedConfigForm takes a Locale and it's
currently set to the Locale.getDefault() so it's no longer null.
I'm going to leave this open for now because something strange is going on in
the
ConnectorManagerGetServlet.doGet(). It pulls the Lang parameter from the
request but
it doesn't seem to pass it onto the processDoGet() method. For some reason the
lang
parameter is explicitly set to null.
Original comment by mgron...@gmail.com
on 4 Oct 2007 at 6:12
Also tracked as internal Bug 948047.
Original comment by mgron...@gmail.com
on 7 Dec 2007 at 7:44
Fixed r707 | mgronber | 2007-12-07 13:37:34 -0800 (Fri, 07 Dec 2007)
Description:
Fix for Bug 948047 and Issue 40.
For some reason the ConnectorManagerGetServlet.doGet() method was ignoring the
given
lang and passing null down to the processDoGet() abstract method. This class is
specialized by 3 other classes. For 2 of those classes this didn't matter
because
they didn't return any locale specific resources. However, the
GetConnectorConfigToEdit servlet does need this information or else it uses the
default locale. Since the Connector Manager is running in a different
environment
than the GSA this leads to problems.
The GSA does send the Lang attribute with the request to
getConnectorConfigToEdit, so
this fix allows that attribute to be passed down to the
ConnectorType.getPopulatedConfigForm() SPI method.
Affected Paths:
M
//trunk/projects/connector-manager/source/java/com/google/enterprise/connector/s
ervlet/ConnectorManagerGetServlet.java
Original comment by mgron...@gmail.com
on 7 Dec 2007 at 9:44
Original comment by mgron...@gmail.com
on 19 Dec 2007 at 4:43
Original issue reported on code.google.com by
jl1615@gmail.com
on 20 Apr 2007 at 7:54