Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Strange Behavior with RTC Sample Code

Daniel,

I believe I've fixed the problems. Can you do a git pull on both the lyo.core and lyo.client repositories, rebuild, and try again?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=426299

I had to work around what looks like an RTC bug where it declares datatype long, but leaves the value empty, which causes errors when read from Jena.

--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC


Inactive hide details for Samuel Padgett---01/21/2014 02:34:13 PM---Daniel, It's _trying_ to create a task, but it doesn't alwaSamuel Padgett---01/21/2014 02:34:13 PM---Daniel, It's _trying_ to create a task, but it doesn't always. It picks a creation


    From:

Samuel Padgett/Durham/IBM@IBMUS

    To:


    Cc:

Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>, lyo-dev-bounces@xxxxxxxxxxx

    Date:

01/21/2014 02:34 PM

    Subject:

Re: [lyo-dev] Strange Behavior with RTC Sample Code

    Sent by:

lyo-dev-bounces@xxxxxxxxxxx




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:
    From:

Daniel Chirillo/New York/IBM@IBMUS
    To:

Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
    Date:

01/21/2014 02:16 PM
    Subject:

Re: [lyo-dev] Strange Behavior with RTC Sample Code
    Sent by:

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

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image

GIF image


Back to the top