manage merging of Relatation validation attributes #95

Merged
alessia.bardi merged 1 commits from merge_rel_validation into master 3 years ago
Owner

This PR adds to the Relation model objects merge procedure the management of the fields validated and validationDate.

Given this and r the relation objects being merged, the merging logic assumes that:

this.validated = this.validated OR r.validated
this.validationDate = oldest(this.validationDate, r.validationDate)

Where dates are parsed assuming the date format spec yyyy-MM-dd'T'HH:mm:ssZ

This PR adds to the Relation model objects merge procedure the management of the fields `validated` and `validationDate`. Given `this` and `r` the relation objects being merged, the merging logic assumes that: ``` this.validated = this.validated OR r.validated this.validationDate = oldest(this.validationDate, r.validationDate) ``` Where dates are parsed assuming the date format spec `yyyy-MM-dd'T'HH:mm:ssZ`
claudio.atzori added the
enhancement
label 3 years ago
alessia.bardi was assigned by claudio.atzori 3 years ago
alessia.bardi closed this pull request 3 years ago
The pull request has been merged as bf2830b981.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b merge_rel_validation master
git pull origin merge_rel_validation

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff merge_rel_validation
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#95
Loading…
There is no content yet.