mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-939 #time 2d
- fix archive task with doc+xml : xml data data targeting a field without "source" -for a record inside a story- are now present in the newly created record.
This commit is contained in:

committed by
Benoît Burnichon

parent
58ed1e7c5e
commit
ddce5a82dd
@@ -20,7 +20,7 @@ class PhraseanetMetadataSetter
|
||||
$metadatas = [];
|
||||
|
||||
$tagnameToFieldnameMapping = [];
|
||||
$arrayStructure = iterator_to_array($record->get_databox()->get_meta_structure());
|
||||
$arrayStructure = iterator_to_array($record->get_collection()->get_databox()->get_meta_structure());
|
||||
|
||||
array_walk($arrayStructure, function ($databoxField) use (&$tagnameToFieldnameMapping) {
|
||||
$tagname = $databoxField->get_tag()->getTagname();
|
||||
|
Reference in New Issue
Block a user