Author Topic: [v1.7.2] "Repeat Command" cache not updated when prefix/suffix command changes  (Read 1405 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
When a "Repeat Command Phrase" is used with a prefix/suffix command, the cached version used for this is unaffected by changes to the actual command until that command is executed again(by voice, which is the only option for prefix/suffix).

I.E. if the command is changed or even deleted entirely, using a "Repeat Command Phrase" will execute the version of the command last executed using its own command phrase.


At one point this happened with a regular command as well, but I can't replicate it.


EDIT: Fixed in v1.7.2.11
« Last Edit: August 19, 2018, 02:05:43 AM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
I'll take a look at it.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
The problem is that a composite command (prefix + suffix) isn't actually a command at all until it is accessed (created on the fly).  I think that the best that will be able to be done is on an edit of a profile, if the cached command is a composite command, it will need to be cleared (and not refreshed like a full command).  Thanks for the heads-up!