Description:
In a newly deployed 1.4.2 image , when loaded with a configuration file where community attribute is set with replace value, commit fails. Attached the full config for reference.
It sends a empty value between quotes
```
vyos@vyos# load /tmp/newconf
Loading configuration from '/tmp/newconf'
Load complete. Use 'commit' to make changes effective.
[edit]
vyos@vyos# compare
......
+ route-map IPV4-BGP-CUST-WAN-IN {
+ rule 10 {
+ action "deny"
+ match {
+ ip {
+ address {
+ prefix-list "IPV4-RESERVED-NETWORKS"
+ }
+ }
+ }
+ }
+ rule 30 {
+ action "permit"
+ set {
+ community {
+ replace ""
+ }
+ }
+ }
vyos@vyos# commit
[ policy route-map IPV4-BGP-CUST-WAN-IN rule 30 set community replace ]
Invalid community format
[ policy route-map IPV4-BGP-CUST-WAN-IN rule 30 set community replace ]
Invalid value
[[policy]] failed
Commit failed
[edit]
```
The same configuration loads from an old config.boot file from the device if added and modified in a previous change.
{F14603215}