[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] GDPR issue: replace_core (to set export_as_xml => 0) no longer effective for contact_email in v3.4+?

Hi Florian,

You will need to copy flavours/pub_lib/cfg.d/eprint_fields_common.pl to 
your archive cfg/cfg.d/ directory and set the export_as_xml => 0 in this 
newly created file.

I agree we should probably not have this field exporting by default, 
although it is the sort of fields that would typically be required in 
internal (authenticated) exports.? I have created a GitHub issue for this:


I think chan


David Newman

On 19/08/2020 16:56, Florian He? via Eprints-tech wrote:
> Hi,
> we blocked privacy sensitive contact_email from being propagated by some
> plugins linked in the summary page. That no longer works in a simple
> manner in 3.4+, because replace_core field setting takes effect only for
> core fields ("provenance" => "core"), but contact_email now is defined
> in pub_lib/cfg.d/eprint_fields_common.pl which is why "provenance" is
> set to "config".
> When I try to set export_as_xml => 0 for the fields, EPrints throws an
> error because of duplicate field eprint.contact_email.
> The flag export_as_xml is evaluated in Plugins CSV and JSON and Simple.
> Lacking an idea for a better solution, I will now hack the
> eprint_fields_common.pl file in a way that is probably not update-safe.
> I am afraid this needs to be done to make EPrints 3.4+ (closer to) GDPR
> compliant, does it?
> Viele Gr??e
> Florian

This email has been checked for viruses by AVG.