You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 363 moved from a Google Code project.
Added by 2011-05-12T18:42:18.000Z by Zany...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, v1.0rc2
Original description
<b>What steps will reproduce the problem?</b>
1.Create a class and add a date type property
2.Create a record with a date
3.Connect to the database via RESTful http and browse the record
<b>What is the expected output? What do you see instead?</b>
Expected output:
"result": [{
"@type": "d", "@rid": "#5:6", "@version": 0, "@class":
"Person",
"datecreated": SOME FORM OF DATE,
}
]
instead:
"result": [{
"@type": "d", "@rid": "#5:6", "@version": 0, "@class":
"Person",
"datecreated": null,
}
]
The date is visible if you browse the record in the console, but when you browse it over http its declared as null.
I used the following commands in the console in a newly created database:
>> create class person
>> create property person.datecreated date
>> insert into person ('datecreated') values ('2011-12-05 17:30:33')
Then I connected with HTTPrestful to the remote database and browsed the class, browsed the record and did a sql "select from person" and the date in the record was "null" although it was showing correctly when viewed with a console locally connected to the database.
The text was updated successfully, but these errors were encountered:
This is Issue 363 moved from a Google Code project.
Added by 2011-05-12T18:42:18.000Z by Zany...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, v1.0rc2
Original description
The text was updated successfully, but these errors were encountered: