Issue Bug Closed

#58704What does file:uid:contents do?

Christian Stern 05/12/14, 07:46 updated 09/11/14, 16:32

Description

After reading data-type-gettext-file I was wondering, what file:ID:contents should do?

uid:46 is a valid image file.

page >
page = PAGE
page.10 = TEXT
page.10.data = file:46:contents

and

page >
page = PAGE
page.10 = FILES
page.10 {
  files = 46

  renderObj = TEXT
  renderObj.data = file:current:contents
}

gives me the following output.

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
   <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.1.2">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""/>
      </rdf:RDF>
   </x:xmpmeta>
<?xpacket end="w"?>

All other properties works correctly: name, size, sha1, extension, mime_types, publicUrl, localPath

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.