Skip to content

Update to purge functionality (D832)#607

Open
droberts-ctrlo wants to merge 2 commits intoctrlo:devfrom
droberts-ctrlo:file-purge-fix
Open

Update to purge functionality (D832)#607
droberts-ctrlo wants to merge 2 commits intoctrlo:devfrom
droberts-ctrlo:file-purge-fix

Conversation

@droberts-ctrlo
Copy link
Contributor

Specific datum changes are present, as not every datum is purgeable. The system will now mark the record as purged and disallow editing, putting the record into an archived state.
Further discussion may be required as to whether to mark the record as archived within the table as it is displayed as well as current (new) functionality to show the record as archived once the record is opened.

droberts-ctrlo and others added 2 commits March 18, 2026 10:35
Specific datum changes are present as not every datum is purgeable.
The system will now mark the record as purged and disallow editing,
putting the record into an archived state.
Further discussion may be required as to whether to mark the record as
archived within the table as it is displayed as well as current (new)
functionality to show the record as archived once the record is opened.
@droberts-ctrlo droberts-ctrlo changed the title Update to purge functionality Update to purge functionality (D832) Mar 18, 2026
Copy link

@pwlodarski-ctrlo pwlodarski-ctrlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good - just one or two clarity comments.

name => $old_name
})->next) {
$changed = 0 if $fl && $fl->content eq $old_content;
# Fix - if the data is originally purged, then the fileval record will have been deleted, so we need to account for that

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a 'Need Fixing' reminder, or is that a comment to exclaim a fix has been made?

my @presentation_columns = $self->presentation_map_columns(%options, columns => \@columns);
my @topics= $self->get_topics(\@presentation_columns);

my $has_purged = !!(grep { defined $_->{data}->{purged} && $_->{data}->{purged} } map { @{$_->{columns}} } @topics);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be potentially a multi-line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants