Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
thirdPartyArchiving
Commits
6c6dd144
Verified
Commit
6c6dd144
authored
Apr 03, 2019
by
Arnaud Pauget
Browse files
Prevent the passage of a restituted to preserved archive
parent
568b3956
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundle/recordsManagement/Controller/archive.php
View file @
6c6dd144
...
...
@@ -36,7 +36,7 @@ class archive extends \bundle\recordsManagement\Controller\archive
public
function
setStatus
(
$archiveIds
,
$status
)
{
$statusList
=
[];
$statusList
[
'preserved'
]
=
array
(
'frozen'
,
'disposable'
,
'error'
,
'restituable'
,
'restituted'
,
'transferable'
);
$statusList
[
'preserved'
]
=
array
(
'frozen'
,
'disposable'
,
'error'
,
'restituable'
,
'transferable'
);
$statusList
[
'restituable'
]
=
array
(
'preserved'
);
$statusList
[
'restituted'
]
=
array
(
'restituable'
);
$statusList
[
'transfered'
]
=
array
(
'transferable'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment