Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Sheet workers setting a field to contain a query returns a firebase error

1487716115
Kryx
Pro
Sheet Author
API Scripter
I've tried to set a repeating field to "?{Heal Bonus Amount|}" and get the following firebase error:&nbsp; FIREBASE WARNING: Exception was thrown by user callback. Error: Firebase.update failed: First argument contains NaN in property 'campaign-1206379-j6_YWgTZOjDZezQdTiUzuQ.char-attribs.char.-KdXlgad29NCwujVfbck.-KdXlqAk57kqc-T20m2Q.max' &nbsp; &nbsp; at hg (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:123:203" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:123:203</a>) &nbsp; &nbsp; at <a href="https://app.roll20.net/assets/firebase.2.4.0.js:1" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:1</a>... &nbsp; &nbsp; at Fb (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:28:656" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:28:656</a>) &nbsp; &nbsp; at jg (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:126:134" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:126:134</a>) &nbsp; &nbsp; at X.update (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:258:369" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:258:369</a>) &nbsp; &nbsp; at <a href="https://app.roll20.net/assets/firebase.2.4.0.js:1" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:1</a>... &nbsp; &nbsp; at c (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:240:58" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:240:58</a>) &nbsp; &nbsp; at <a href="https://app.roll20.net/assets/firebase.2.4.0.js:1" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:1</a>... &nbsp; &nbsp; at gc (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:52:165" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:52:165</a>) &nbsp; &nbsp; at cc (<a href="https://app.roll20.net/assets/firebase.2.4.0.js:30:216" rel="nofollow">https://app.roll20.net/assets/firebase.2.4.0.js:30:216</a>)&nbsp; Uncaught Error: Firebase.update failed: First argument contains NaN in property 'campaign-1206379-j6_YWgTZOjDZezQdTiUzuQ.char-attribs.char.-KdXlgad29NCwujVfbck.-KdXlqAk57kqc-T20m2Q.max' &nbsp; &nbsp; at hg (firebase.2.4.0.js:123) &nbsp; &nbsp; at firebase.2.4.0.js:126 &nbsp; &nbsp; at Fb (firebase.2.4.0.js:28) &nbsp; &nbsp; at jg (firebase.2.4.0.js:126) &nbsp; &nbsp; at X.update (firebase.2.4.0.js:258) &nbsp; &nbsp; at app.js?1487702195:3 &nbsp; &nbsp; at c (firebase.2.4.0.js:240) &nbsp; &nbsp; at firebase.2.4.0.js:201 &nbsp; &nbsp; at gc (firebase.2.4.0.js:52) &nbsp; &nbsp; at cc (firebase.2.4.0.js:30) You can cause it to occur on my test campaign ( <a href="https://app.roll20.net/join/1206379/qP-T_Q" rel="nofollow">https://app.roll20.net/join/1206379/qP-T_Q</a>) by toggling on the paladin's lay on hands feature. The game is open so don't worry about the link being public. Thanks
1487721837
Silvyre
Forum Champion
Does setting it to ?{Heal Bonus Amount} without the vertical bar result in the same error?
1487721903
Kryx
Pro
Sheet Author
API Scripter
I can test. Will that result in the same behavior though: where it'll query for a number.
1487722160
Silvyre
Forum Champion
I know that ?{Test} and ?{Test|} behave identically when entered into the Text Chat
1487722231
Kryx
Pro
Sheet Author
API Scripter
I'll test tomorrow and report back.
1487775790
Kryx
Pro
Sheet Author
API Scripter
This was a result of me trying to put a string into a number field. Thanks for investigating. Please close.