OK, I will try to do it.
2016-02-18 15:48 GMT+08:00 Dan Haywood :
> How about a pull request, James? Process documented here [1] and details
> on the Asciidoc here [2]. Suggest add to the hints-n-tips section of the
> RO viewer's guide [3]; the actual file to
How about a pull request, James? Process documented here [1] and details
on the Asciidoc here [2]. Suggest add to the hints-n-tips section of the
RO viewer's guide [3]; the actual file to change would be [4]
Cheers
Dan
[1] http://isis.apache.org/guides/cgcon.html#_cgcon_contributing
[2]
Hi, Dan,
Thank you for your work.
You are right , I call GET method without prefix "s_" originally. Now it
works fine with "s_" + id.
But this information doesn't documented, would you please put this into
document ?
Thanks again,
James.
2016-02-17 16:41 GMT+08:00 Dan Haywood
Hi James,
OK, so I took a look at this yesterday; thanks for the example code. I
don't believe there's an issue, but I can see how one might make a mistake
to get the behaviour you are seeing.
The IdEntity you introduced (which SimpleObject subclases) is defined to
use application-defined
Hi, Dan,
Did you found the reason of issue ?
Thanks,
James
ps: update class IdEntity
@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.APPLICATION)
@javax.jdo.annotations.Inheritance(strategy=javax.jdo.annotations.InheritanceStrategy.SUBCLASS_TABLE)
Hi, Dan,
I replay the error with simpleapp.
There is one new class called IdEntity, and modify SimpleObject to extends
IdEntity.
public class IdEntity {
protected String id;
@javax.jdo.annotations.Persistent(primaryKey="true",valueStrategy=javax.jdo.annotations.IdGeneratorStrategy.UUIDHEX)
Ok, James, thanks for taking the time to look into.
Will take a look later this week,try to get to the bottom of it .
Thx, Dan
On 1 Feb 2016 12:45, "Chuangyu" wrote:
> Hi, Dan,
>
> I replay the error with simpleapp.
>
> There is one new class called IdEntity, and modify
Hi,
I believe there are two issues here:
1) Isis doesn't extract the primary key (4028dd814d2213d8014d2213d861)
from "4028dd814d2213d8014d2213d861[OID]tm.dom.modules.assets.Device"
before passing it to DataNucleus
2) DataNucleus uses misleading exception message. The method call is
Hi,
I met an error when try a GET method with Swagger UI.
The url is below:
http://localhost:8080/restful/objects/tm.dom.modules.assets.Device/4028dd814d2213d8014d2213d861
"4028dd814d2213d8014d2213d861" is a uuid string which length is 32.
curl command as below:
curl -X GET