#dominoforever | Product Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Allow Date item to be emptied in a PATCH / PUT request with DDS (Domino Data Services) enabled

You can't empty a Date item in a PATCH / PUT request.

Consider having a database enabled for Domino Data Services, Anonymous is authorized as an Editor (it doesn't matter the ACL, just for ease).

Place a POST request to create a document with a text item and a date item. This is the Body:

{

"Date": "2021-06-25T09:30:00Z",

"Subject": "New document"

}

Now a PATCH / PUT request on the newly created document to empty the Date item and change Subject's value:

{

"Date": "",

"Subject": "Edit document"

}

Output is:

{

"code": 400,

"text": "Bad Request",

"message": "Invalid date"

}

Steps to reproduce:

1. Create a database with a form having Date and Text field.

2. Enable Domino Data Services on server and database

3. Create a new document with Date and text data.

4. Call the API from Postman with JSON sample to empty the date field like below.

Example API call: http://<yourhostname.com>/<yourdatabase.nsf>/api/data/documents/unid/E694CEBB1E963323652587060052F722

JSON sample:

{

"Date":"",

"Subject":"test"

}

5. You will see error 400 Bad request

{

"code": 400,

"text": "Bad Request",

"message": "Invalid date"

}

6. It is reproducible with both PATCH / PUT request.


Expectation: Allow Date item to be emptied in a PATCH / PUT request with DDS (Domino Data Services) enabled.


Refer SPR # ASHEC4QFN8

  • Guest
  • Jul 13 2022
  • Needs Review
  • Attach files