Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: Cannot read properties of undefined (reading 'toString')" #221

Closed
TheWirsing opened this issue Jul 21, 2023 · 4 comments
Closed
Assignees
Labels
bug Something isn't working solved Issue has been solved v4 Strapi v4

Comments

@TheWirsing
Copy link

TheWirsing commented Jul 21, 2023

I am using Strapi 4.11.3 and the current plugin version in an docker enviroment. I keep getting the error after adding a comment field to a collection type, single type or component when I try to edit a corresponding item in the content manager.

strapibug

@Dell-it
Copy link

Dell-it commented Jul 23, 2023

I get the same thing on a clean build 4.11.7 when adding a custom field on the content type editing page. The entity editing page at this moment looks like this:
image

@FightM9
Copy link

FightM9 commented Jul 25, 2023

Same thing!
Error when creating a new entity with a custom field

Woops! Something went wrong. Please, try again.

err

STRAPI VERSION: v4.11.7
NODE VERSION: v18.12.0
Strapi Plugin Comments: v2.2.11

@cyp3rius cyp3rius self-assigned this Jul 25, 2023
@cyp3rius cyp3rius added bug Something isn't working v4 Strapi v4 investigation Issue under investigation labels Jul 25, 2023
@cyp3rius
Copy link
Collaborator

Investigating

@cyp3rius cyp3rius added in progress and removed investigation Issue under investigation labels Jul 25, 2023
cyp3rius added a commit that referenced this issue Jul 25, 2023
cyp3rius added a commit that referenced this issue Jul 25, 2023
@cyp3rius
Copy link
Collaborator

Fixed in v2.2.12

@cyp3rius cyp3rius added solved Issue has been solved and removed in progress labels Jul 25, 2023
github-actions bot pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Oct 4, 2023
# [1.1.0](v1.0.2...v1.1.0) (2023-10-04)

### Bug Fixes

* add types to Avatar component ([f12ea9c](f12ea9c))
* author blocked props ([d9d0777](d9d0777))
* author population ([VirtusLab-Open-Source#177](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/177)) ([5ba0d85](5ba0d85))
* change error 403 test ([99ec162](99ec162))
* custom field on existing entity ([VirtusLab-Open-Source#178](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/178)) ([5e6cc63](5e6cc63))
* fixed UserAvatar typing ([dd179c7](dd179c7))
* fixes after merge ([3b9eee2](3b9eee2))
* issue [VirtusLab-Open-Source#199](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/199) - undeclared codemirror dependency causes build crash ([ccc1f98](ccc1f98))
* issue [VirtusLab-Open-Source#201](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/201) fix the filtering by thread ([bdc292a](bdc292a))
* issue [VirtusLab-Open-Source#220](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/220), issue [VirtusLab-Open-Source#221](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/221) ([VirtusLab-Open-Source#222](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/222)) ([03d504a](03d504a))
* load only existing translations ([e0cea8d](e0cea8d))
* package.json outdated ([1ef26e5](1ef26e5))
* peer dependency ([50bd59c](50bd59c))
* stick to older match-sorter dependency following strapi ([70dd408](70dd408))
* strapi 4.13 packages alignment ([VirtusLab-Open-Source#229](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/229)) ([3432cd2](3432cd2))
* strapi v4.7.1 compatibility fix because of dependencies ([563f86c](563f86c))
* unused import removed ([ac7d47f](ac7d47f))

### Features

* **api:** issue [VirtusLab-Open-Source#209](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/209) - find all by author ([e47684a](e47684a))
* author entity props blocking ([VirtusLab-Open-Source#186](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/186)) ([6134f1e](6134f1e))
* basic filters options added to Discover and Reports ([074d23a](074d23a))
* comments custom field [CU-2tn2923] ([VirtusLab-Open-Source#157](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/157)) ([aaac8a0](aaac8a0)), closes [VirtusLab-Open-Source#158](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/158)
* create reports page [CU-20rfmkv] ([VirtusLab-Open-Source#153](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/153)) ([15b9b57](15b9b57))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a284d59](a284d59))
* typescripted client service and controllers ([eddd4b3](eddd4b3))
gabrielsclimaco pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Dec 20, 2023
# [1.1.0](v1.0.2...v1.1.0) (2023-10-04)

### Bug Fixes

* add types to Avatar component ([f12ea9c](f12ea9c))
* author blocked props ([d9d0777](d9d0777))
* author population ([VirtusLab-Open-Source#177](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/177)) ([5ba0d85](5ba0d85))
* change error 403 test ([99ec162](99ec162))
* custom field on existing entity ([VirtusLab-Open-Source#178](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/178)) ([5e6cc63](5e6cc63))
* fixed UserAvatar typing ([dd179c7](dd179c7))
* fixes after merge ([3b9eee2](3b9eee2))
* issue [VirtusLab-Open-Source#199](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/199) - undeclared codemirror dependency causes build crash ([ccc1f98](ccc1f98))
* issue [VirtusLab-Open-Source#201](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/201) fix the filtering by thread ([bdc292a](bdc292a))
* issue [VirtusLab-Open-Source#220](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/220), issue [VirtusLab-Open-Source#221](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/221) ([VirtusLab-Open-Source#222](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/222)) ([03d504a](03d504a))
* load only existing translations ([e0cea8d](e0cea8d))
* package.json outdated ([1ef26e5](1ef26e5))
* peer dependency ([50bd59c](50bd59c))
* stick to older match-sorter dependency following strapi ([70dd408](70dd408))
* strapi 4.13 packages alignment ([VirtusLab-Open-Source#229](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/229)) ([3432cd2](3432cd2))
* strapi v4.7.1 compatibility fix because of dependencies ([563f86c](563f86c))
* unused import removed ([ac7d47f](ac7d47f))

### Features

* **api:** issue [VirtusLab-Open-Source#209](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/209) - find all by author ([e47684a](e47684a))
* author entity props blocking ([VirtusLab-Open-Source#186](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/186)) ([6134f1e](6134f1e))
* basic filters options added to Discover and Reports ([074d23a](074d23a))
* comments custom field [CU-2tn2923] ([VirtusLab-Open-Source#157](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/157)) ([aaac8a0](aaac8a0)), closes [VirtusLab-Open-Source#158](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/158)
* create reports page [CU-20rfmkv] ([VirtusLab-Open-Source#153](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/153)) ([15b9b57](15b9b57))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a284d59](a284d59))
* typescripted client service and controllers ([eddd4b3](eddd4b3))
gabrielsclimaco pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Dec 20, 2023
* add types to Avatar component ([f12ea9c](f12ea9c))
* author blocked props ([d9d0777](d9d0777))
* author population ([VirtusLab-Open-Source#177](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/177)) ([5ba0d85](5ba0d85))
* change error 403 test ([99ec162](99ec162))
* custom field on existing entity ([VirtusLab-Open-Source#178](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/178)) ([5e6cc63](5e6cc63))
* fixed UserAvatar typing ([dd179c7](dd179c7))
* fixes after merge ([3b9eee2](3b9eee2))
* issue [VirtusLab-Open-Source#199](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/199) - undeclared codemirror dependency causes build crash ([ccc1f98](ccc1f98))
* issue [VirtusLab-Open-Source#201](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/201) fix the filtering by thread ([bdc292a](bdc292a))
* issue [VirtusLab-Open-Source#220](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/220), issue [VirtusLab-Open-Source#221](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/221) ([VirtusLab-Open-Source#222](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/222)) ([03d504a](03d504a))
* load only existing translations ([e0cea8d](e0cea8d))
* package.json outdated ([1ef26e5](1ef26e5))
* peer dependency ([50bd59c](50bd59c))
* stick to older match-sorter dependency following strapi ([70dd408](70dd408))
* strapi 4.13 packages alignment ([VirtusLab-Open-Source#229](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/229)) ([3432cd2](3432cd2))
* strapi v4.7.1 compatibility fix because of dependencies ([563f86c](563f86c))
* unused import removed ([ac7d47f](ac7d47f))

* **api:** issue [VirtusLab-Open-Source#209](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/209) - find all by author ([e47684a](e47684a))
* author entity props blocking ([VirtusLab-Open-Source#186](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/186)) ([6134f1e](6134f1e))
* basic filters options added to Discover and Reports ([074d23a](074d23a))
* comments custom field [CU-2tn2923] ([VirtusLab-Open-Source#157](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/157)) ([aaac8a0](aaac8a0)), closes [VirtusLab-Open-Source#158](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/158)
* create reports page [CU-20rfmkv] ([VirtusLab-Open-Source#153](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/153)) ([15b9b57](15b9b57))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a284d59](a284d59))
* typescripted client service and controllers ([eddd4b3](eddd4b3))
gabrielsclimaco pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Dec 20, 2023
* add types to Avatar component ([f12ea9c](f12ea9c))
* author blocked props ([d9d0777](d9d0777))
* author population ([VirtusLab-Open-Source#177](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/177)) ([5ba0d85](5ba0d85))
* change error 403 test ([99ec162](99ec162))
* custom field on existing entity ([VirtusLab-Open-Source#178](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/178)) ([5e6cc63](5e6cc63))
* fixed UserAvatar typing ([dd179c7](dd179c7))
* fixes after merge ([3b9eee2](3b9eee2))
* issue [VirtusLab-Open-Source#199](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/199) - undeclared codemirror dependency causes build crash ([ccc1f98](ccc1f98))
* issue [VirtusLab-Open-Source#201](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/201) fix the filtering by thread ([bdc292a](bdc292a))
* issue [VirtusLab-Open-Source#220](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/220), issue [VirtusLab-Open-Source#221](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/221) ([VirtusLab-Open-Source#222](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/222)) ([03d504a](03d504a))
* load only existing translations ([e0cea8d](e0cea8d))
* package.json outdated ([1ef26e5](1ef26e5))
* peer dependency ([50bd59c](50bd59c))
* stick to older match-sorter dependency following strapi ([70dd408](70dd408))
* strapi 4.13 packages alignment ([VirtusLab-Open-Source#229](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/229)) ([3432cd2](3432cd2))
* strapi v4.7.1 compatibility fix because of dependencies ([563f86c](563f86c))
* unused import removed ([ac7d47f](ac7d47f))

* **api:** issue [VirtusLab-Open-Source#209](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/209) - find all by author ([e47684a](e47684a))
* author entity props blocking ([VirtusLab-Open-Source#186](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/186)) ([6134f1e](6134f1e))
* basic filters options added to Discover and Reports ([074d23a](074d23a))
* comments custom field [CU-2tn2923] ([VirtusLab-Open-Source#157](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/157)) ([aaac8a0](aaac8a0)), closes [VirtusLab-Open-Source#158](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/158)
* create reports page [CU-20rfmkv] ([VirtusLab-Open-Source#153](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/153)) ([15b9b57](15b9b57))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a284d59](a284d59))
* typescripted client service and controllers ([eddd4b3](eddd4b3))
github-actions bot pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this issue Dec 20, 2023
# [1.1.0](v1.0.2...v1.1.0) (2023-12-20)

### Bug Fixes

* add types to Avatar component ([f12ea9c](f12ea9c))
* author blocked props ([d9d0777](d9d0777))
* author population ([VirtusLab-Open-Source#177](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/177)) ([5ba0d85](5ba0d85))
* change error 403 test ([99ec162](99ec162))
* custom field on existing entity ([VirtusLab-Open-Source#178](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/178)) ([5e6cc63](5e6cc63))
* fixed UserAvatar typing ([dd179c7](dd179c7))
* fixes after merge ([3b9eee2](3b9eee2))
* issue [VirtusLab-Open-Source#199](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/199) - undeclared codemirror dependency causes build crash ([ccc1f98](ccc1f98))
* issue [VirtusLab-Open-Source#201](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/201) fix the filtering by thread ([bdc292a](bdc292a))
* issue [VirtusLab-Open-Source#220](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/220), issue [VirtusLab-Open-Source#221](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/221) ([VirtusLab-Open-Source#222](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/222)) ([03d504a](03d504a))
* load only existing translations ([e0cea8d](e0cea8d))
* package.json outdated ([1ef26e5](1ef26e5))
* peer dependency ([50bd59c](50bd59c))
* stick to older match-sorter dependency following strapi ([70dd408](70dd408))
* strapi 4.13 packages alignment ([VirtusLab-Open-Source#229](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/229)) ([3432cd2](3432cd2))
* strapi v4.7.1 compatibility fix because of dependencies ([563f86c](563f86c))
* unused import removed ([ac7d47f](ac7d47f))

### Features

* **api:** issue [VirtusLab-Open-Source#209](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/209) - find all by author ([e47684a](e47684a))
* author entity props blocking ([VirtusLab-Open-Source#186](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/186)) ([6134f1e](6134f1e))
* basic filters options added to Discover and Reports ([074d23a](074d23a))
* comments custom field [CU-2tn2923] ([VirtusLab-Open-Source#157](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/157)) ([aaac8a0](aaac8a0)), closes [VirtusLab-Open-Source#158](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/158)
* create reports page [CU-20rfmkv] ([VirtusLab-Open-Source#153](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/153)) ([15b9b57](15b9b57))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a284d59](a284d59))
* typescripted client service and controllers ([eddd4b3](eddd4b3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved Issue has been solved v4 Strapi v4
Projects
None yet
Development

No branches or pull requests

4 participants