setAccessedTime can fail on a logical file recovered by XREF

Description

The code in setAccessedTime() assumed a logical file would have an existing Attr node, which is not necessarily the case. In particular, if a logical file is recovered by XREF it will not have one.

This meant that a file ready by the engines would fail inside setAccessedTime()

 

Conclusion

None

Activity

Show:

David Sette August 17, 2017 at 9:08 AM

For info, it is possible to fix the issue manually using daliadmin.

For file "my::file::name"

run:

daliadmin _daliIP_ add '/Files/Scope[@name="my"]/Scope[@name="file"]/File[@name="name"]'/Attr''

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Created August 16, 2017 at 9:01 AM
Updated August 31, 2017 at 8:54 AM
Resolved August 31, 2017 at 8:54 AM