Octopus v2018.10.4: "TypeError: this.state.model.userRoleIds is undefined"

ruf-r
#1

I just created a team and assign 1 user to it. Now, when I click on the team name the following appears. Help!

An unexpected error occurred in Octopus v2018.10.4: “TypeError: this.state.model.userRoleIds is undefined”

in t
in t
in div
in div
in MediaQuery
in div
in w
in t
in withRouter(w)
in main
in t
in Unknown
in t
in t
in t
in t
in t
in t
in t
in t
in ge
in r
in t
in t
in t
in t
in t
in x
in div
in t
in Connect(t)
in t
in t
in t
in t
in t
in t
in t
in t
in Provider
in t
in i
in t

hide full exception

Octopus v2018.10.4

3082/</Y</t.prototype.rolesSummary@https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:467943

3082/</Y</t.prototype.rolesSummary (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:467943)
3082/</Y</t.prototype.render (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:470784)
u (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:329644)
beginWork (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:331144)
i (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:343436)
u (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:343952)
c (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:344427)
m (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:346449)
h (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:345958)
enqueueSetState (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:327225)
967/o.prototype.setState (https://deploy.ourserver.net/react.b6fe6b93ca3074f66333.hashedasset.js:1:307929)
f</n.prototype.setState (https://deploy.ourserver.net/main.2e6289db8ea487678126.hashedasset.js:1:2550)
t/a.handleSaveClick/</</</</< (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:459977)
o (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:458007)
a/< (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:457342)
s (https://deploy.ourserver.net/configuration.0e93ef67fc04ba228686.hashedasset.js:1:457084)
M (https://deploy.ourserver.net/vendor.7ffcae552a4f9fb15532.hashedasset.js:38:2086)
C (https://deploy.ourserver.net/vendor.7ffcae552a4f9fb15532.hashedasset.js:38:2200)
T (https://deploy.ourserver.net/vendor.7ffcae552a4f9fb15532.hashedasset.js:38:1989)
c (https://deploy.ourserver.net/vendor.7ffcae552a4f9fb15532.hashedasset.js:38:348)

(Nick Josevski) #3

Hi Michael,

Thanks for getting in touch and that bug report. Unfortunately I wasn’t able to reproduce with a few things I tried. Could I get your help with some more info about your data and your exact actions?

The first suspicion was permissions impacting what you could see, but that didn’t seem likely to rule it out could you send through a permission export of the user who’s accessing that team page, by going to Configuration > Test Permissions selecting the user and hitting the export button.

The UserRoleIds are something stored on the Team, I couldn’t find a way it wouldn’t be at least an empty set.

Could you please open the network tab of your browser and on the team page where you see the problem and filter to that API call and send through the JSON response like this:

Regards,
Nick

#4

Nick - The problem has magically stopped happening! So we’re good for now.

(Nick Josevski) #5

That’s strange. Thanks for letting me know.

If you hit any other problems let us know.

(Nick Josevski) closed #6