History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-838
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tomasz Sztelak
Reporter: Matt Solnit
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Documentation only works for one service

Created: 15/Jan/07 06:18 PM   Updated: 20/Jan/07 06:44 AM
Component/s: Core
Affects Version/s: 1.2.3, 1.2.4
Fix Version/s: 1.2.5

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive XFireDocTest.zip (5 kb)

Environment: Mac OS X (Intel) 10.4.8, Java 1.5.0_06


 Description  « Hide
If I have two services, Service1 and Service2, and I create Service1.doc.xml and Service2.doc.xml, the doc for Service1 will be used for both. The reason is that ObjectServiceFactory only has a single instance of DocumentationProvider which is re-used for all services.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tomasz Sztelak - 19/Jan/07 02:22 PM
Can you tell me how you are creating services ? I just run test on one of ours examples and documentation for multiple services works fine.

Matt Solnit - 19/Jan/07 02:50 PM
Hi Tomasz. Sorry, that was my mistake. The problem actually only occurs if I have Service1.doc.xml and no Service2.doc.xml. The doc in Service1.doc.xml will be used for any services that have no doc of their own.

This is much easier to work around, but still an issue IMO .

I'll attach a sample test case for convenience.


Matt Solnit - 19/Jan/07 03:25 PM
Sample test app.

Tomasz Sztelak - 20/Jan/07 06:44 AM
Fixed in svn