This chapter lists high-visibility bugs that have been addressed in this release. It is not a complete listing of all of the bugs addressed. If you still have issues with any of these bugs, please file a new bug at http://bugreport.apple.com/ under the WebObjects (new bugs) component, versionX. Refer to the bug number indicated below in your new bug if you believe it is the same issue.
EOEditingContext throws exception when serializing with a substitution editing context
EOEditingContext throws exception when serializing with a substitution editing context. Exception: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.eocontrol.EOEditingContext._updateUnprocessedOwnDestinations(EOEditingContext.java:1579) at com.webobjects.eocontrol.EOEditingContext.readObject(EOEditingContext.java:5277) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
This issue has been resolved.
EOAttribute.encodeIntoPropertyList return an incorrect result
EOFactoryMethodArgumentIsNSString is not encoded properly for EOAttributes and therefore does not decode properly.
This issue has been resolved.
When prefetching multiple keypaths it is possible to have the snapshots of some forgotten
When prefetching a toMany.toOne all of the toMany objects have deferred faults for all of their toOne relationships. This means that right after the prefetch they will all be forgotten because a reference is not being maintained to them.
This issue has been resolved.
_EOCheapCopyMutableArray.iterator() in doesn't fault array
_EOCheapCopyMutableArray.iterator() was not calling willRead() correctly and not faulting the array.
This issue has been resolved.
EOEditingContext reset() can throw ArrayIndexOutOfBoundsException
EOEditingContext reset() can throw ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException: at com.webobjects.foundation._NSCollectionEnumerator.nextElement(_NSCollectionEnumerator.java:34) at com.webobjects.eocontrol.EOEditingContext.reset(EOEditingContext.java:983) at com.apple.store.foundation.ASEOUtilities.releaseConcurrentEditingContext(ASEOUtilities.java:689) at ReviewHandler.getReviewsHandler(ReviewHandler.java:352) at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.apple.store.service.server.DispatchRequestHandler.handleRequestForMethodName(DispatchRequestHandler.java:258) at com.apple.store.service.server.DispatchRequestHandler.handleRequest(DispatchRequestHandler.java:160) at com.apple.store.service.server.transport.directAction.DirectActionServiceRequestHandler.handleRequest(DirectActionServiceRequestHandler.java:102) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306) at com.apple.store.webobjects.ASWOApplication.dispatchRequest(ASWOApplication.java:247) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254) at java.lang.Thread.run(Thread.java:552)
This issue has been resolved.
Empty "object" and "key" attributes in NSValidation.ValidationException instance
Empty "object" and "key" parameters when NSValidation.ValidationException are thrown from EOAccess.
This issue has been resolved.
Prefetching across a flattened many-to-many is O(n^2)
EODatabaseContext was resolving many-to-many relationships very inefficiently.
This issue has been resolved.
ResultSet already closed exception when using jboss-4.0.4.GA
JDBCChannel was improperly closing it's ResultSet and causing problems in some J2EE containers.
This issue has been resolved.
Exception when executing stored procedure with Oracle 10g drivers
The Oracle JDBC drivers are throwing an exception upon setting one of the parameters to null.
This issue has been resolved.
Add a EODatabase class delegate to allow easy subclassing
Through the class delegate, EODatabase can be subclassed or overridden. See the WebObjects 5.4 API reference for more information.
This issue has been resolved.
NullPointerException with EOAttribute missing "external type"
NullPointerException with EOAttribute missing "external type."
This issue is resolved.
Enhance EOF prototyping support
Enhance EOModel prototyping support to make it recognize the Database Management System used just like it does with the plugin support.
This has been fixed in WebObjects 5.4.
Setting EOAttribute's prototype also clear properties undefined in prototype
When setting or changing prototype of a com.webobjects.eoacess.EOAttribute class instance using the setPrototype(EOAttribute) method, all prototype properties are copied, and unset properties in the prototype are reseted. This problem occures in EOModeler as well.
This has been fixed in WebObjects 5.4.
Custom subclasses of WORequest do not load when they were loading fine in WO 5.3.x
This is not a regression but a change in the API. The new API is: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, Map<String, ? extends List<String>> someHeaders, NSData aContent, Map<String, Object> someInfo). The old API does not get called.
Change the application code.
The line referencing WebObjects adaptor is removed from default Leopard client apache configuration file.
The line in Tiger version of default Apache configuration (/etc/httpd/httpd.conf) that used to be uncommented to enable WO adaptor is not moved to the default Leopard client Apache configuration (/etc/apache2/httpd.conf).
Insert the following line: Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf and comment out last two lines inside the <Directory> directive. <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>
The JBoss Application Server is removed in Mac OS X Server v10.5
The JBoss Application Server is no longer part of the Mac OS X Server v10.5 software distribution.
Before you can restore your JBoss applications, you must install JBoss on your server. WebObjects 5.4 on Mac OS X v10.5 can be used to create WAR bundle that are compatible for deployment on JBoss.
Loading example database with installDatabases.sh may not cause some problems with UTF 8 data.
The script that loads WO example database does not specify database encoding which may cause some problems with UTF 8 characters.
add -Dderby.ui.codeset=UTF8 in line 55.
Eclipse Plugin Bookmarks for 3.2 contains outdated URL for WOLips
We provided Eclipse plugin bookmarks that developers can import to set up Eclipse for WO development transition from XCode. These URLs in the bookmarks are not up to date.
Note to add that /Developer/Examples/JavaWebObjects/Eclipse/Eclipse3.2_bookmarks.xml, Eclipse3.3_bookmarks.xml may contain URLs that have been changed more recently.
Use UTF-8 as default URL and content encoding
Use UTF-8 as default URL and content encoding instead of ISO_Latin.
This issue has been resolved.
WOHTMLDynamicElement is not threadsafe
WOHTMLDynamicElement is not threadsafe.
This issue has been resolved.
WO Dynamic Elements should handle java.util.Collection classes
WO Dynamic Elements should handle java.util.Collection classes.
This issue has been resolved.
Deadlock if Session.sleep() Throws
Deadlock if Session.sleep() Throws.
This issue has been resolved.
Race condition in stateless component action handling
Race condition in stateless component action handling.
This issue has been resolved.
Direct action handler doesn't check in sessions on some errors
Problem is that if the handleActionRequestError() method returns a response, and the session was checked out, it will fail to be checked back in. This doesn't occur in the case where that returns null (the default implementation).
This issue has been resolved.
WOURLEncoder improperly uses encoded ampersand to join form values
WOURLEncoder improperly uses encoded ampersand to join form values.
This issue has been resolved.
Application's terminate() method not called when deployed as Servlet
Application's terminate() method not called when deployed as Servlet.
This issue has been resolved.
Files with special name are not correctly parsed by WOFileUpload
Files with using special characters, such as double quotes, sometimes are not correctly parsed by WOFileUpload.
This issue has been resolved.
Direct Connect HTTP Server Does Not Serve 3GPP MIME Types, ICS, JSON and CSV
Direct Connect HTTP Server Does Not Serve 3GPP MIME Types, ICS, JSON and CSV.
This issue has been resolved.
WOHyperlink doesn't entity escape '&' in the query string for direct action URLs
WOHyperlink doesn't entity escape '&' in the query string for direct action URLs.
This issue has been resolved.
WOMessage's userInfo should be mutable
WOMessage's userInfo should be mutable.
This issue has been resolved.
WOContext should have a userInfo
WOContext should have a userInfo.
This issue has been resolved.
WOMessage array list does not work
WOMessage array list does not work.
This issue has been resolved.
WOHyperlink should support escapeHTML binding
WOHyperlink should support escapeHTML binding.
This issue has been resolved.
Form encoding error when passing additional bindings in an action
Form encoding error when passing additional bindings in an action.
This issue has been resolved.
Improve error message in WOComponent.handleTakeValueForUnboundKey
Error message in WOComponent.handleTakeValueForUnboundKey should print out component name.
This issue has been resolved.
WOXMLDecoder is not thread-safe
WOXMLDecoder is not thread-safe.
This issue has been resolved.
Component URL does not generate secure URL
Component URL does not generate secure URL.
This issue has been resolved.
WebObjects apps should report version number it's running against
WebObjects apps log the version of WO it is running against and there is also access through API.
This issue has been resolved.
WOGenericElement and WOGenericContainer eat class/id/style/title bindings
With the changes to WOHTMLDynamicElement to more generally support CSS bindings, WOGenericElement/WOGenericContainer got broken. The CSS bindings are output from the _appendClassAndIdToResponse() method, which is called from appendAttributesToResponse(). That method is overriden in WOGenericElement, and does not call through to _appendClassAndIdToResponse().
This has been fixed in WebObjects 5.4.
NSKeyValueCoding.Null objects should be evaluated as false boolean value in Associations
Associations returning NSKeyValueCoding.Null were evaluated to true, they are now correctly evaluated as false.
This issue has been resolved.
Character escaping in the URI href attributes
WebObjects will respect the W3C specification as listed below: http://www.w3.org/TR/1998/REC-html40-19980424/appendix/notes.html#h-B.2.2 B.2.2 Ampersands in URI attribute values The URL that is constructed when a form is submitted may be used as an anchor-style link (e.g., the href attribute for the A element). Unfortunately, the use of the "&" character to separate form fields interacts with its use in SGML attribute values to delimit character entity references. For example, to use the URI "http://host/?x=1&y=2" as a linking URI, it must be written <A href="http://host/?x=1&y=2"> or <A href="http://host/?x=1&y=2">. We recommend that HTTP server implementors, and in particular, CGI implementors support the use of ";" in place of "&" to save authors the trouble of escaping "&" characters in this manner.
This issue has been resolved.
NSMultiReaderLock performance degradation on MP hardware
WO is now using the java concurrency stack for threading.
This issue has been resolved.
Documentation incorrect in NSKeyValueCoding javadoc
Documentation incorrect in NSKeyValueCoding javadoc.
This issue has been resolved.
NSArray.toArray(Object[]) is terribly broken
Object[] NSArray.toArray(Object[] objects) appends the passed in objects array to the internal object array. The contract for this method as defined by java.util.Collections is that if an Object array is passed in, the internal objects will be copied INTO that array.
This issue has been resolved.
Fix mutable in NS* collections: implement mutators
Fix mutable in NS* collections: implement mutators.
This issue has been resolved.
NSArray constructor should take Collection
NSArray constructor should take Collection.
This issue has been resolved.
NSForwardException should use standard java exception chaining
NSForwardException should use standard java exception chaining.
This issue has been resolved.
Build support for Generics in WOFoundation
Build support for Generics in WOFoundation.
This issue has been resolved.
NSMutableArray.remove(obj) is an incorrect implementation
NSMutableArray.remove(obj) is an incorrect implementation.
This issue has been resolved.
NSMutableArray.subList(int, int) is not implemented
NSMutableArray.subList(int, int) is not implemented.
This issue has been resolved.
NSMutableSet.addAll(collect) incorrect implementation
NSMutableSet.addAll(collect) incorrect implementation.
This issue has been resolved.
Better type conversion from Double or Float to BigDecimal
Fixed the loss of conversion from Double or Float to DigDecimal. This will give greater correctness in the rounding of the conversion.
This issue has been resolved
Apple plist DTD is retrieved from network if using "Apple" instead of "Apple Computer"
WebObjects applications with Info.plist with DTD specifying "Apple" instead of "Apple Computer" will try to retrieve the DTD from web.
Connect the machine to network to retrieve the DTD from web or change the DTD in the plist. (use <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">)
MSMutableArray - subList(...).clear() incorrect implementation
subList() returns a cloned version of the subList instead of a live view on the underlying array.
This issue has not been resolved.
Last updated: 2007-12-11