Bug 9646

Summary: The validation for DL_DIR and SSTATE_DIR variables fires for valid characters
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Sujith H <sujith.h>
Status: RESOLVED FIXED QA Contact: David Lopez Barriba <davidx.lopez.barriba>
Severity: normal    
Priority: Medium CC: belen.barros.pena, jessica.zhang, stanciux.mihail, sujith.h
Version: unspecified   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2016-05-17 15:14:40 UTC
Steps to reproduce:

1) Create a Toaster project
2) Go to the "BitBake variables" page
3) Click the 'Change' icon for DL_DIR or SSTATE_DIR
4) Delete the value in the text input field
5) Type a valid character (for example a letter or a number)

Outcome: the error message telling you special characters are not allowed shows up, even though the character you typed is not invalid.

This only happens if you delete the value and start typing a new value from scratch. If you just add to the value (without deleting it) the validation works correctly.
Comment 2 Sujith H 2016-07-13 09:44:21 UTC
The changes have been merged upstream and below are the links to upstream:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=dabb49be869c5cbd220d30f18323ed12ed54e381