Closed nus-se-bot closed 5 years ago
Unable to add photo to specified profile I tried to add a photo to a certain user in the address book but it didn't work.
To Reproduce Steps to reproduce the behavior: 1) Download image(I downloaded this photo, https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjuic2DsrjhAhXxmuYKHaFtAtYQjRx6BAgBEAU&url=https%3A%2F%2Fwww.redbubble.com%2Fpeople%2Fdankshirtsstore%2Fworks%2F34023852-pepega%3Fp%3Dphotographic-print&psig=AOvVaw2Y9pe5E-6ZDF0zDOLqdMkP&ust=1554534391335934
2) photo 3 C:\Users\Jerald Tan\Desktop\pepega.jpg
Expected behavior I should be able to see the photo assign to the profile. However, I keep getting " the path of the photo is invalid"
Screenshots
Reported by: @jeraldtsy Severity: High
[original: nus-cs2103-AY1819S2/pe-dry-run#678]
This is caused be a white space in the path. The arguments are trimmed by white space. Alr fixed.
Unable to add photo to specified profile I tried to add a photo to a certain user in the address book but it didn't work.
To Reproduce Steps to reproduce the behavior: 1) Download image(I downloaded this photo, https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjuic2DsrjhAhXxmuYKHaFtAtYQjRx6BAgBEAU&url=https%3A%2F%2Fwww.redbubble.com%2Fpeople%2Fdankshirtsstore%2Fworks%2F34023852-pepega%3Fp%3Dphotographic-print&psig=AOvVaw2Y9pe5E-6ZDF0zDOLqdMkP&ust=1554534391335934
2) photo 3 C:\Users\Jerald Tan\Desktop\pepega.jpg
Expected behavior I should be able to see the photo assign to the profile. However, I keep getting " the path of the photo is invalid"
Screenshots
Reported by: @jeraldtsy Severity: High
[original: nus-cs2103-AY1819S2/pe-dry-run#678]