Skip to content

Crash in string value for multiple objects #2242

@pjrobertson

Description

@pjrobertson

It seems @skurfer's latest changes cause a crash in stringValue. To reproduce:

  • Create a trigger for a 'combined' object for a nonexistent file path. E.g. in text mode type ~/nowhere, pres ESC, then comma, then enter text mode again.
  • You'll be left with a dObject of 2 text objects (to nonexistent files). The action is irrelevant
  • Now add a keyboard shortcut to the trigger
  • Try and activate the trigger (whilst debugging Xcode). You'll see there's an infinite loop - caused by calling [object splitObjects] in the stringValue method.

This was broken by 9e84daa

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions