You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dorbae@dorbae-ubuntu:~$ docker logs -f whisk-couch 2>&1| grep -i "os process"
[info] 2024-09-07T02:25:38.312234Z nonode@nohost <0.1292.0> -------- OS Process #Port<0.8249> Log :: function raised exception (new TypeError("doc.binding is not an object", "undefined", 3)) with doc._id whisk.system/user25868/TEST
[info] 2024-09-07T02:25:38.321479Z nonode@nohost <0.11150.0> -------- OS Process #Port<0.8738> Log :: function raised exception (new TypeError("doc.binding is not an object", "undefined", 3)) with doc._id whisk.system/playground-userpackage
[info] 2024-09-07T02:25:38.321606Z nonode@nohost <0.11148.0> -------- OS Process #Port<0.8737> Log :: function raised exception (new TypeError("doc.binding is not an object", "undefined", 3)) with doc._id whisk.system/playground-run
[info] 2024-09-07T02:25:38.321991Z nonode@nohost <0.11150.0> -------- OS Process #Port<0.8738> Log :: function raised exception (new TypeError("doc.binding is not an object", "undefined", 3)) with doc._id whisk.system/playground-fetch
[info] 2024-09-07T02:25:38.322312Z nonode@nohost <0.11150.0> -------- OS Process #Port<0.8738> Log :: function raised exception (new TypeError("doc.binding is not an object", "undefined", 3)) with doc._id whisk.system/playground-delete
Additional information you deem important:
I reproduced the error on standalone environment and local machine and the version of CouchDB was 2.3.1. And also, I found it on my product environment with 3.3.3 version.
This issue occurs when execute view function since action and trigger entities have no 'binding' field on their doc. It doesn't affect the creation of the index.
Nevertheless, I think it's better to fix this function. This is because CouchDB makes unnecessary logs whenever entities are updated.
It can be fixed by modifying isPublicPackackage function and I already tested it. I would like to contribute if I have a chance.
The text was updated successfully, but these errors were encountered:
Environment details:
Steps to reproduce the issue:
You can find this log when whisk.v2.1.0/packages-public view re-build index. In my case, I reproduce it on Web Console followed by below steps.
Upsert entity docs(action or trigger) on whisk entity db.
Click 'Save Document and then Build Index' button.
Provide the expected results and outputs:
Provide the actual results and outputs:
Additional information you deem important:
I reproduced the error on standalone environment and local machine and the version of CouchDB was 2.3.1. And also, I found it on my product environment with 3.3.3 version.
This issue occurs when execute view function since action and trigger entities have no 'binding' field on their doc. It doesn't affect the creation of the index.
Nevertheless, I think it's better to fix this function. This is because CouchDB makes unnecessary logs whenever entities are updated.
It can be fixed by modifying
isPublicPackackage
function and I already tested it. I would like to contribute if I have a chance.The text was updated successfully, but these errors were encountered: