quantranhong1999 edited a comment on pull request #529:
URL: https://github.com/apache/james-project/pull/529#issuecomment-876292463


   By the way when debug 
**setMessagesShouldReturnCreatedMessageWithEmptySubjectWhenSubjectIsEmpty** 
test, I see some thing weird. We have **a empty input subject**:
   
![image](https://user-images.githubusercontent.com/55171818/124897583-a5be3b80-e008-11eb-8b0a-82635a778b2c.png)
   
   After parsing using headers.getField("Subject"), we got a null value 
UnstructureField
   
![image](https://user-images.githubusercontent.com/55171818/124899789-a788fe80-e00a-11eb-9089-1f8d7ef164ab.png)
   
   After unstructuredField.getValue(), it converts null value -> **a String 
with a white space**.
   
![image](https://user-images.githubusercontent.com/55171818/124900170-077fa500-e00b-11eb-9bc3-ecdb5bf3ab92.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to