Hi again,

On 16/10/2008, at 12:31 AM, Lachlan Deck wrote:

On 15/10/2008, at 10:59 PM, Mike Schrag wrote:

I've attached a patch for ERXWOServletContext (Mike, if you'd like to apply this... it's a project relative patch).
The problem with this is that this method call changed between 5.3 and 5.4 in an API-incompatible way, which means we actually now have to have an ERXWOServletContext53 and ERXWOServletContext54. This is actually exactly the reason we have that stupid ERXWOContext54 -- it's only for this one method.

in 5.4:
public String _urlWithRequestHandlerKey(String requestHandlerKey, String requestHandlerPath, String queryString, boolean isSecure, int somePort) {

in 5.3:
public String _urlWithRequestHandlerKey(String requestHandlerKey, String requestHandlerPath, String queryString, boolean secure) {

Ah. I overlooked that.

The problem is that you have to call "super." and you can't call super with reflection, which means you can't build a version that works in 5.4 against 5.3 API's.

Updated patches attached...
Woops, missed the patch for ERXApplication.installPatches() also. Here they all are again with this one too.

<ERXWOServletContext.java.patch><ERXWOServletContext54.java.patch>

with regards,
--

Lachlan Deck


Attachment: ERXApplication.java.patch
Description: Binary data

Attachment: ERXWOServletContext.java.patch
Description: Binary data

Attachment: ERXWOServletContext54.java.patch
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to