<< Back to previous view

[QB-3690] Unable to set empty value for 'Commit Status Context' field (GitHub repository) and 'Commit Status Name/Context' (GitLab repository)
Created: 25/Mar/21  Updated: 01/Jun/21

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 10.0.28, 11.0.1
Fix Version/s: 11.0.3

Type: Bug Priority: Major
Reporter: Robert Saladra Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Ubuntu 20.04 docker image

File Attachments: PNG File repos.png    

 Description   
Steps to reproduce for GitHub repository:
1. Go to configuration's Repositories tab
2. Add new repository, select type GitHub
3. Fill mock value in 'Fetch URL' field
4. Delete default value in 'Commit Status Context' field
5. Save repository

Expected result:
Field 'Commit Status Context' is empty.

Actual result:
Value in 'Commit Status Context' field is filled with default value: ${configuration.name}.

Workaround:
Fill field with value ${""}

Same behavior is observed for repository type GitLab (with different default value), and when filling field with spaces. Corresponding field are not present in configuration XML obtained via REST API.

 Comments   
Comment by Robin Shen [ 26/Mar/21 12:24 AM ]
This works fine at my side. Do you have any auto-fill plugin running in your browser to fill the cleared value automatically again?
Comment by Robert Saladra [ 26/Mar/21 08:24 AM ]
No, I have autofill disabled on all sites. Field is not filled when checking Configuration XML (/rest/configurations/<config_id>), please check attached screenshot
Comment by Robin Shen [ 26/Mar/21 08:38 AM ]
Which browser and OS you are accessing QB from?
Comment by Robert Saladra [ 26/Mar/21 08:53 AM ]
Chrome 89, Windows 10 20H2. Same story on MS Edge and Windows Server 2019 + IE
Comment by Robin Shen [ 26/Mar/21 10:27 AM ]
Got it reproduced now. Will be addressed in next patch release.

Thx!
Generated at Sat Apr 20 08:02:56 UTC 2024 using JIRA 189.