Page MenuHomePhabricator

'diff' function malfunction
Open, NormalPublic

Description

Build 16.04.2019 (fresh installation vyos- 1.2.0- rolling+201904160337 )
Steps to reproduce:
1)set system name-server 192.0.2.20
2)set system name-server 192.0.2.21
3)run show system commit diff 2
Expected result 'Invalid revision 2'
Actual result 'Invalid revision 3'
4)run show system commit diff 1
Expected result 'Invalid revision 1'
Actulal result
'Invalid config file (syntax error) : error at line 1 , text [specified] '
'Invalid config file (syntax error) : error at line 1 , text [path] '
'Cannot parse specified config file(s)'
Note after 'commit save exit configure' correct output displayed for 'diff 1' , and incorrect for 'diff 2' and 'diff 3'

Details

Difficulty level
Unknown (require assessment)
Version
vyos- 1.2.0- rolling+201904160337
Why the issue appeared?
Will be filled on close

Event Timeline

OlegGardash triaged this task as Normal priority.Apr 17 2019, 3:26 PM
OlegGardash created this task.
OlegGardash created this object in space S1 VyOS Public.
pasik added a subscriber: pasik.Apr 28 2019, 10:00 AM
Dmitry added a subscriber: Dmitry.Aug 9 2019, 3:05 PM

I cannot reproduce this issue on VyOS 1.2.0-rolling+201908050337. @OlegGardash can you try on last rolling release?