Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE, Master
-
7.0.x
-
Committed
-
1.25
-
4
Description
Issue
Cannot create a new message board post through add-message API
Steps to reproduce
- Start a clean DXP bundle
- Login
- Add Message Boards to home page
- Create a new category and retrieve its CategoryId (e.g. http://localhost:8080/web/guest/home/-/message_boards/category/34247 – 34247)
- Access add-message API
http://localhost:8080/api/jsonws?contextName=&signature=%2Fmbmessage%2Fadd-message-4-categoryId-subject-body-serviceContext - Fill in categoryId, subject and body
categoryId - 34247 subject - hello body - hello hello hello
- Invoke
- java.lang.NullPointerException is thrown
- Access another version of add-message API
http://localhost:8080/api/jsonws?contextName=&signature=%2Fmbmessage%2Fadd-message-11-groupId-categoryId-subject-body-format-fileName-file-anonymous-priority-allowPingbacks-serviceContext - Fill in the groupId (siteId), categoryId, subject and body
siteId - 20143
categoryId - 34247
subject - hello
body - hello hello hello - Set format to html, anonymous and priority to 1
- Invoke
Actual results
java.lang.NullPointerException is thrown
Expected results
Can create a new post through add-message API
Reproduced in
de-10
branch - ee-7.0.x - a63e895a3ede33f4dce1b2b94dd28eab5132354c
master - af43248cbd21e4737f180de01ff5d9480094a453
Attachments
Issue Links
- Testing discovered
-
LPS-73623 Subject-body turned out to be blank when create a mb post through add-message API
- Closed