Bug 566647 - wrong documentation for read-file
Summary: wrong documentation for read-file
Status: UNCONFIRMED
Alias: None
Product: RCPTT
Classification: Technology
Component: ECL (show other bugs)
Version: 2.5.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-03 09:41 EDT by Jochen Kemnade CLA
Modified: 2020-09-03 09:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Kemnade CLA 2020-09-03 09:41:58 EDT
The documentation for the read-file command says:

uri String: URI to read file from. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system.

This is not correct, at least for local file system files, the correct prefix is "file:", not "file:/". For example, for a file "/tmp/foo.txt", you need to pass "file:/tmp/foo.txt", not "file://tmp/foo.txt".