View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005786 | OXID ERP Interface | OXID ERP Interface - sub | public | 2014-06-04 13:52 | 2015-05-12 15:15 |
Reporter | martinwegele | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.12.0 | ||||
Fixed in Version | 2.14.1 | ||||
Summary | 0005786: Assigned attributes are not removed from product | ||||
Description | When using the SOAP method OXERPSetArticleAttributes all old assignments of attributes to the product that is being edited should be removed according to the documentation (7.82 on page 42). Since module version 2.12.0 this does not work any more. OXERPSetArticleAttributes will only remove the most recently assigned attribute from the product. All other assigned attributes will stay. So there is no possibility to get rid of old attribute assignments via the SOAP interface! | ||||
Steps To Reproduce |
You can repeat this over and over again. OXERPSetArticleAttributes will only remove the most recent assignment from oxobject2attribute so the count of assigned attributes will stay two forever. | ||||
Additional Information | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:oxer="OXERPService"> <soapenv:Header/> <soapenv:Body> <oxer:OXERPGetArticleAttributes> <oxer:sSessionID>insert session id from OXERPLogin call</oxer:sSessionID> <oxer:sArticleID>b56369b1fc9d7b97f9c5fc343b349ece</oxer:sArticleID> </oxer:OXERPGetArticleAttributes> </soapenv:Body> </soapenv:Envelope> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:oxer="OXERPService"> <soapenv:Header/> <soapenv:Body> <oxer:OXERPSetArticleAttributes> <oxer:sSessionID>insert session id from OXERPLogin call</oxer:sSessionID> <oxer:sArticleID>b56369b1fc9d7b97f9c5fc343b349ece</oxer:sArticleID> <oxer:aAttributes> <!--adding one attribute--> <oxer:OXERPType> <oxer:aResult> <oxer:ArrayOfString> <oxer:string>OXID</oxer:string> <oxer:string>8a142c3e9cd961518.80299776</oxer:string> </oxer:ArrayOfString> <oxer:ArrayOfString> <oxer:string>OXVALUE</oxer:string> <oxer:string>test</oxer:string> </oxer:ArrayOfString> </oxer:aResult> <oxer:blResult>true</oxer:blResult> <oxer:sMessage></oxer:sMessage> </oxer:OXERPType> </oxer:aAttributes> </oxer:OXERPSetArticleAttributes> </soapenv:Body> </soapenv:Envelope> | ||||
Tags | Attributes, Enterprise | ||||
related to | 0005123 | resolved | Linas Kukulskis | International language sets for oxobject2attribute grow with unreferenced entries |
related to | 0004812 | resolved | arturas.sevcenko | Article attributes can't be saved to _set tables |
related to | 0004756 | resolved | arturas.sevcenko | attribute methods are not working with _set1, set2 tables for many languages case |
related to | 0006058 | resolved | aurimas.gladutis | MySQL error in OXERPSetArticleAttributes if table name contains certain characters |