Bug 1316489 - OData - update of clob value using HTTP method PATCH does not set correct value of the column
Summary: OData - update of clob value using HTTP method PATCH does not set correct val...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-10 11:06 UTC by Juraj Duráni
Modified: 2016-06-03 21:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-17 21:10:24 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4048 0 Major Closed OData - update of clob value using HTTP method PATCH does not set correct value of the column 2016-06-03 21:03:37 UTC

Description Juraj Duráni 2016-03-10 11:06:06 UTC
Description of problem:
This affects both XML and JSON format.

*URL:* http://localhost:8080/odata4/olingo_basic/Source/PatchTable(2)
*Entity:* 
<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:xml="http://www.w3.org/XML/1998/namespace"
    xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
    xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss">
    <category scheme="http://docs.oasis-open.org/odata/ns/scheme" />
    <content type="application/xml">
        <m:properties>
            <d:intnum m:type="Int32">4</d:intnum>
            <d:stringval>4</d:stringval>
            <d:timestampval m:type="DateTimeOffset">2004-01-01T00:00:04Z</d:timestampval>
            <d:clobval m:type="Binary">Y2xvYl92YWx1ZV8wMDAwNA==</d:clobval>
        </m:properties>
    </content>
</entry>

*Result of GET:*
<d:clobval m:type="Binary">NjM2YzZmNjI1Zjc2NjE2Yzc1NjU1ZjMwMzAzMDMwMzU=</d:clobval>

Comment 1 JBoss JIRA Server 2016-03-17 20:55:25 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4048 to Resolved

Comment 2 Van Halbert 2016-03-17 21:10:24 UTC
Rejected by engineer and explained why on the TEIID-4048 jira.

Comment 3 JBoss JIRA Server 2016-06-03 21:03:38 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-4048 to Closed


Note You need to log in before you can comment on or make changes to this bug.