On 23/01/2017 15:35, Martin van Es wrote:
On Mon, Jan 23, 2017 at 1:47 PM, Francesco Chicchiriccò
<[email protected]> wrote:
I can't select target columns that are designated for key, status and
delete by the connector. Is this by-design?
I think it is somewhat by design, but I am not sure it is for good; for the
moment, please use:
* __NAME__ as value for key column
* __ENABLE__ as value for status column (you should not need to provide a
mapping for this, though, as it is done automatically)
Well that's contradictory to the error I reported (Unable to find
property: 'connObjectKeyValidation') but using your hint I am now able
to harvest accounts from the csv file, thx.
Another thing I noticed: I need to make email attribute mandatory for
it to appear in the provisioned user, while my assumption was that it
would provision email when available, but not break on absence? The
status attribute behaves differently (status false is correctly
updated to suspended and vice versa) while status -> __ENABLE_
mandotory field is set to false.
I invite you to read the details from
https://syncope.apache.org/docs/reference-guide.html#mapping
but essentially, the "mandatory condition" can be specified both at
Schema level (hence value(s) must be provided globally) or at mapping
level (hence value(s) must be provided when provisioning to / from that
external resource).
As an example, this simply means that Syncope refuses to send out
propagations to the CSVDir connector if email is not provided and
mapping mandatory condition is set to 'true'.
When the mapping mandatory condition is set to 'false', instead, Syncope
won't raise any error before propagating to the CSVDir connector if
email is not provided.
What happens into the connector, in such case, depends on the connector
bundle implementation.
I am able to replicate your error, please file an issue for this.
https://issues.apache.org/jira/browse/SYNCOPE-1000
(HA! 1000 is mine ;)
Nice catch :-)
Anyway, as commented there, the real issue in only about the failure to
report the error message to Admin UI; the rest is about the way how the
ConnId CSVDir bundle works, so not any Syncope issue.
Regards.
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/