View Issue Details

IDProjectCategoryView StatusLast Update
000464810000-020: File TransferSpecpublic2021-05-11 16:42
ReporterLiam Power Assigned ToJeff Harding  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Summary0004648: The TrustList OpenWithMasks method breaks the Size property of a FileType
Description

The OpenWithMasks method makes the file size specific to a particular file handle. The size property does not consider the file handle so it cannot provide an accurate value for file size.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0004787 closedRandy Armstrong 10000-012: Discovery The TrustList OpenWithMasks method breaks the Size property of a FileType 

Activities

Jim Luth

2019-06-18 17:24

administrator   ~0010390

Part 5: Enhance FileType to discuss the file system metadata vs. File I/O methods (and how it parallels OS APIs) on handles and how GetPosition/SetPosition can be used to get the size based on the current open handle (and how it parallels OS APIs) .
Part 12: Describe details about using GetPosition/SetPosition to get the "size" of the file when a mask is applied because the Size property will always be the full size of the file. Also consider adding a Size() method that takes a handle to optimize out the multiple Get/Set position calls.

Jeff Harding

2020-09-17 15:53

developer   ~0012922

I don't see a problem with the text in Part 20. There is no mention of 'metadata'.
What exactly is not understood?

Jeff Harding

2020-09-18 14:27

developer   ~0012954

Trust lists break the functionality of the file size and therefore should be set to 0 in this case.

Agreed to add "If the Server can not accurately determine the size of the file the Size Property shall be returned to a Client with a StatusCode of Bad_NotSupported." to clarify the use Size Property.

Add a 1.04 Errata.

Jeff Harding

2020-12-01 16:35

developer   ~0013331

Added clarification text "If the Server can not accurately determine the size of the file the Size Property shall be returned to a Client with a StatusCode of Bad_NotSupported." to describe Size Property.

Jim Luth

2021-05-04 16:02

administrator   ~0014319

Agreed to 1.05 changes -- Needs 1.04 Errata close.

Jim Luth

2021-05-11 16:42

administrator   ~0014358

Agreed to 1.04.10 Errata.

Issue History

Date Modified Username Field Change
2019-02-27 23:16 Liam Power New Issue
2019-06-18 17:24 Jim Luth Note Added: 0010390
2019-06-18 17:25 Jim Luth Issue cloned: 0004787
2019-06-18 17:25 Jim Luth Relationship added related to 0004787
2019-06-18 17:30 Jim Luth Assigned To => Jeff Harding
2019-06-18 17:30 Jim Luth Status new => assigned
2020-06-17 14:17 Jeff Harding Project 10000-005: Information Model => 10000-020: File Transfer
2020-09-17 15:53 Jeff Harding Note Added: 0012922
2020-09-18 14:27 Jeff Harding Note Added: 0012954
2020-12-01 16:35 Jeff Harding Status assigned => resolved
2020-12-01 16:35 Jeff Harding Resolution open => fixed
2020-12-01 16:35 Jeff Harding Fixed in Version => 1.05
2020-12-01 16:35 Jeff Harding Note Added: 0013331
2021-05-04 16:02 Jim Luth Note Added: 0014319
2021-05-11 16:42 Jim Luth Status resolved => closed
2021-05-11 16:42 Jim Luth Note Added: 0014358