#1950 Delayed errors when recalling config options
Reporter
Zash
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Type-Defect
Status-Fixed
Milestone-13.0
Zash
on
What steps will reproduce the problem?
Configuration like:
```
option = {}
other_option = option
```
What is the expected output?
The second option is set to the value of the first.
What do you see instead?
Error thrown when indexing the second option:
For example if parsing a set or otherwise accessing a numeric index:
> Unknown config option operation: '1'
What version of the product are you using? On what operating system?
13.0.2, trunk
Introduced in https://hg.prosody.im/trunk/rev/905a6009f60d
Please provide any additional information below.
Reported by km in the chat
What steps will reproduce the problem? Configuration like: ``` option = {} other_option = option ``` What is the expected output? The second option is set to the value of the first. What do you see instead? Error thrown when indexing the second option: For example if parsing a set or otherwise accessing a numeric index: > Unknown config option operation: '1' What version of the product are you using? On what operating system? 13.0.2, trunk Introduced in https://hg.prosody.im/trunk/rev/905a6009f60d Please provide any additional information below. Reported by km in the chat
Fixed in https://hg.prosody.im/trunk/rev/f0d854c63c8d
Changes