What priority should we assign to this submission?
No response
3Di component
Livesite
What happened?
I did not expect that I could confirm NaN as input (capacity pump)
How to Reproduce?
Open the live site 3di.live
start the model (v2_bergermeer_with_grndwtr revision111)
select a pumpstation
change the capacity default value from eg 0.0125 to 0.012
confirm
then change the capacity default value to NaN (by just backspacing all input)
confirm
It jumps back to the default value. (0.0125)
What did you expect and what was the actual result?
I expected that I would not be able to confirm NaN.
I also expected that if saving NaN would not work, that my previously saved value would be used instead of NaN, not the start value of the model.
Add screenshots, video's etc
Relevant log output
Confirming NaN produces a POST(400) and error message that the field could not be updated.
I think this is correct, since NaN as input probably does not work.
Form submission canceled because the form is not connected
runtime.js:97 POST https://api.3di.live/v3/simulations/90313/events/structure-control/timed/ 400
(anonymous) @ runtime.js:97
(anonymous) @ runtime.js:62
(anonymous) @ runtime.js:43
(anonymous) @ runtime.js:37
a @ runtime.js:33
fetchApi @ runtime.js:78
(anonymous) @ runtime.js:157
(anonymous) @ runtime.js:62
(anonymous) @ runtime.js:43
(anonymous) @ runtime.js:37
a @ runtime.js:33
t.request @ runtime.js:151
(anonymous) @ V3Api.js:11363
(anonymous) @ V3Api.js:54
(anonymous) @ V3Api.js:35
(anonymous) @ V3Api.js:29
i @ V3Api.js:25
e.simulationsEventsStructureControlTimedCreateRaw @ V3Api.js:11346
(anonymous) @ V3Api.js:11385
(anonymous) @ V3Api.js:54
(anonymous) @ V3Api.js:35
(anonymous) @ V3Api.js:29
i @ V3Api.js:25
e.simulationsEventsStructureControlTimedCreate @ V3Api.js:11381
(anonymous) @ existingEvents.ts:678
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ existingEvents.ts:516
(anonymous) @ EditPropertyInfos.tsx:132
(anonymous) @ EditPropertyInfos.tsx:130
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ EditPropertyInfos.tsx:126
onClick @ EditPropertyInfos.tsx:215
Vt @ react-dom.production.min.js:52
Kt @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Ar @ react-dom.production.min.js:100
Cr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Dt @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Nr @ react-dom.production.min.js:105
$e @ react-dom.production.min.js:75
Qe @ react-dom.production.min.js:74
e.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
Lt @ react-dom.production.min.js:292
Ze @ react-dom.production.min.js:73
Show 29 more frames
existingEvents.ts:699 Failed to edit structure with error: {value: {…}}value: {0: Array(1)}[[Prototype]]: Object
(anonymous) @ existingEvents.ts:699
Promise.then (async)
rs @ existingEvents.ts:698
(anonymous) @ existingEvents.ts:682
Promise.catch (async)
(anonymous) @ existingEvents.ts:682
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ existingEvents.ts:516
(anonymous) @ EditPropertyInfos.tsx:132
(anonymous) @ EditPropertyInfos.tsx:130
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ EditPropertyInfos.tsx:126
onClick @ EditPropertyInfos.tsx:215
Vt @ react-dom.production.min.js:52
Kt @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Ar @ react-dom.production.min.js:100
Cr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Dt @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Nr @ react-dom.production.min.js:105
$e @ react-dom.production.min.js:75
Qe @ react-dom.production.min.js:74
e.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
Lt @ react-dom.production.min.js:292
Ze @ react-dom.production.min.js:73
Show 8 more frames
www.3di.live/:1 Form submission canceled because the form is not connected
www.3di.live/:1 Form submission canceled because the form is not connected
runtime.js:97 POST https://api.3di.live/v3/simulations/90313/events/structure-control/timed/ 400
(anonymous) @ runtime.js:97
(anonymous) @ runtime.js:62
(anonymous) @ runtime.js:43
(anonymous) @ runtime.js:37
a @ runtime.js:33
fetchApi @ runtime.js:78
(anonymous) @ runtime.js:157
(anonymous) @ runtime.js:62
(anonymous) @ runtime.js:43
(anonymous) @ runtime.js:37
a @ runtime.js:33
t.request @ runtime.js:151
(anonymous) @ V3Api.js:11363
(anonymous) @ V3Api.js:54
(anonymous) @ V3Api.js:35
(anonymous) @ V3Api.js:29
i @ V3Api.js:25
e.simulationsEventsStructureControlTimedCreateRaw @ V3Api.js:11346
(anonymous) @ V3Api.js:11385
(anonymous) @ V3Api.js:54
(anonymous) @ V3Api.js:35
(anonymous) @ V3Api.js:29
i @ V3Api.js:25
e.simulationsEventsStructureControlTimedCreate @ V3Api.js:11381
(anonymous) @ existingEvents.ts:678
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ existingEvents.ts:516
(anonymous) @ EditPropertyInfos.tsx:132
(anonymous) @ EditPropertyInfos.tsx:130
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ EditPropertyInfos.tsx:126
onClick @ EditPropertyInfos.tsx:215
Vt @ react-dom.production.min.js:52
Kt @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Ar @ react-dom.production.min.js:100
Cr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Dt @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Nr @ react-dom.production.min.js:105
$e @ react-dom.production.min.js:75
Qe @ react-dom.production.min.js:74
e.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
Lt @ react-dom.production.min.js:292
Ze @ react-dom.production.min.js:73
existingEvents.ts:699 Failed to edit structure with error: {value: {…}}value: 0: Array(1)0: "This field may not be null."length: 1[[Prototype]]: Array(0)at: ƒ at()concat: ƒ concat()constructor: ƒ Array()copyWithin: ƒ copyWithin()entries: ƒ entries()every: ƒ every()fill: ƒ fill()filter: ƒ filter()find: ƒ find()findIndex: ƒ findIndex()findLast: ƒ findLast()findLastIndex: ƒ findLastIndex()flat: ƒ flat()flatMap: ƒ flatMap()forEach: ƒ forEach()includes: ƒ includes()indexOf: ƒ indexOf()join: ƒ join()keys: ƒ keys()lastIndexOf: ƒ lastIndexOf()length: 0map: ƒ map()pop: ƒ pop()push: ƒ push()reduce: ƒ reduce()reduceRight: ƒ reduceRight()reverse: ƒ reverse()shift: ƒ shift()slice: ƒ slice()some: ƒ some()sort: ƒ sort()splice: ƒ splice()toLocaleString: ƒ toLocaleString()toString: ƒ toString()unshift: ƒ unshift()values: ƒ values()Symbol(Symbol.iterator): ƒ values()Symbol(Symbol.unscopables): {at: true, copyWithin: true, entries: true, fill: true, find: true, …}[[Prototype]]: Object[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
(anonymous) @ existingEvents.ts:699
Promise.then (async)
rs @ existingEvents.ts:698
(anonymous) @ existingEvents.ts:682
Contact Details
No response
Topdesk URL (API)
No response
Incident Type
Error
What priority should we assign to this submission?
No response
3Di component
Livesite
What happened?
I did not expect that I could confirm NaN as input (capacity pump)
How to Reproduce?
Open the live site 3di.live start the model (v2_bergermeer_with_grndwtr revision111) select a pumpstation change the capacity default value from eg 0.0125 to 0.012 confirm then change the capacity default value to NaN (by just backspacing all input) confirm It jumps back to the default value. (0.0125)
What did you expect and what was the actual result?
I expected that I would not be able to confirm NaN. I also expected that if saving NaN would not work, that my previously saved value would be used instead of NaN, not the start value of the model.
Add screenshots, video's etc
Relevant log output
Additional info
Good luck! :)