I have found a crash that I believe to be reproducible (it is on my machine anyway).
It occurs when:
- Attempting to rename a group via AppleScript
- A child of that group is currently selected
- That child is a YAML file
set newName to "test"
tell application id "DNtp"
set s to selection
set r to item 1 of s
set g to first parent of r
set name of g to newName
end tell
In other words, applying this code to this selection will crash.
DEVONthink shows the beachball of doom, after two minutes “DEVONthink got an error: AppleEvent timed out” is returned to the script runner, but DEVONthink does not recover.
Note that if the markdown file is selected, the script runs without a problem.
I don’t know if this is related, but it could be: I have tried making YAML files editable within DEVONthink using the AdditionalPlainTextExtensions hidden preference. According to this, they should be editable:
* defaults read com.devontechnologies.think AdditionalPlainTextExtensions
.taskpaper.yaml.yml.json
However, YAML files are still read-only for me. I tried rebuilding the database and it made no difference. Same with re-importing the files.
4.0.1 on 15.5