Something went wrong while setting issue due date.
webservice: object is modified instead of created
Closed
webservice: object is modified instead of created
When creating an org with:
$odata['organization']['o'] = 'xxx'; $odata['organization']['description'] = ... $odata['organization']... $fdresult = $client->setfields($session_id, 'organization', NULL, $odata);
Note that I'm using 'NULL' because I want to create a new org.
In LDAP logs I get this 'new' string to appear :
... filter="(&(?roleOccupant=new)(&(objectClass=organizationalRole)(!(objectClass=simpleSecurityObject))))" ... filter="(&(?member=new)(objectClass=groupOfNames))" ... conn=18049 op=1 do_search: invalid dn: "new"
(Once again I do not get zero error back from the webservice about this...)
The final result is if the organization 'o=xxx' already exists, it is somehow modified instead of created as asked (ie: it should raise an error that this org entry already exists).
Oct 21 11:00:06 fd slapd[20551]: conn=18049 op=7 MOD dn="o=xxx,ou=organizations,dc=ow2,dc=org" Oct 21 11:00:06 fd slapd[20551]: conn=18049 op=7 MOD attr=objectClass fdCommunityMembershipType fdCommunityMembershipActive fdCommunityMembershipHidden fdCommunityStartDate fdOrganizationAlternateAddress fdOrganizationAlternateCity fdOrganizationAlternateCountry Oct 21 11:00:06 fd slapd[20551]: conn=18049 op=7 RESULT tag=103 err=0 text=
(from redmine: issue id 5196, created on 2016-10-21, closed on 2016-11-03)
- Custom Fields:
- Bug in version: 1.0.16
- Support contract: None