Skip to content

Commit 50c7634

Browse files
committedSep 19, 2012
Paste assets in the clipboard which are archived.
1 parent 8aaa37e commit 50c7634

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎docs/changelog/7.x.x.txt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- fixed ... and the same problem in the Clipboard
1010
- fixed: UpdateAssetSubscribers workflow activity ERRORs if the group cannot be found.
1111
- fixed: EMS has issues showing badges WITHOUT related badge groups.
12+
- fixed: It's okay to paste assets which are archived, because if you don't they stay in the clipboard forever.
1213

1314
7.10.26
1415
- fixed: Template diagnostics when called without a session asset.

‎lib/WebGUI/AssetClipboard.pm

+2-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ sub paste {
294294
# Update lineage in search index.
295295
my $assetIter = $pastedAsset->getLineageIterator(
296296
['self', 'descendants'], {
297-
statesToInclude => ['clipboard','clipboard-limbo']
297+
statesToInclude => ['clipboard','clipboard-limbo'],
298+
includeArchived => 1,
298299
}
299300
);
300301
while ( 1 ) {

0 commit comments

Comments
 (0)
Please sign in to comment.