[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [lyo-dev] Strange Behavior with RTC Sample Code | 
Daniel,
It's _trying_ to create a task, but it doesn't always. It picks a creation factory at random. RTC has factories for each type in its service description document, and the sample doesn't look at the oslc:usage to tell what one to use. It would explain the random behavior you and Bryan are seeing. The 403 Forbidden errors happen when it tries to create a different work item type and leaves off the Filed Against value.
I'm seeing issues with getEntity() as well. I'll debug.
-- 
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC
![Inactive hide details for Daniel Chirillo---01/21/2014 02:16:41 PM---Hi Samuel, A couple of things:]() Daniel Chirillo---01/21/2014 02:16:41 PM---Hi Samuel, A couple of things:
Daniel Chirillo---01/21/2014 02:16:41 PM---Hi Samuel, A couple of things:
| ![]() 
 | ![]() Daniel Chirillo/New York/IBM@IBMUS
 | 
| ![]() 
 | ![]() Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
 | 
| ![]() 
 | ![]() 01/21/2014 02:16 PM
 | 
| ![]() 
 | ![]() Re: [lyo-dev] Strange Behavior with RTC Sample Code
 | 
| ![]() 
 | ![]() lyo-dev-bounces@xxxxxxxxxxx
 | 
Hi Samuel, 
A couple of things: 
1. Filed Against isn't required to create a Task work item (which is what that the sample creates).   
2. Recall that what both Bryan and I have experienced (and I'm curious to know if you have as well) is that the exact same code produces unpredictable results (sometimes the task is created, sometimes server returns a 403; sometimes it returns a 500). 
3.  I included an issue with getEntity() (I have never gotten it to work successfully with change requests). I think I should really start a new thread for that issue. 
Regards, 
Daniel Chirillo 
IBM Software Services for Rational 
1-720-395-0914  (voice & fax) 
chirillo@xxxxxxxxxx _______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev

