benkeen / generatedata

A powerful, feature-rich, random test data generator.
https://generatedata.com
2.23k stars 611 forks source link

List generation bug #726

Closed benkeen closed 2 years ago

benkeen commented 2 years ago

Two issues here.

  1. One is that it shows "undefined" when attempting to generate a list of items with "exactly" > 1 item. Haven't been able to reproduce this one yet, but see error output below.
  2. The other is shown in the attached. Looks like a JS-ism where it's receiving an object/array of values and just outputting it as is. Not sure why it's outputting a single row - probably a copy-by-reference thing. Only applies when the delimiter string is the same as used by the CSV delimiter.
Screen Shot 2021-12-27 at 4 27 56 PM
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
2DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1 Uncaught RangeError: toFixed() digits argument must be between 0 and 100
    at Number.toFixed (<anonymous>)
    at generate (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
    at onmessage (DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js:1)
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught (in promise) ErrorEvent
dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js:1 Uncaught null
1000vendors~app-827f0f77bb434ce940b6.js:2 Uncaught RangeError: Maximum call stack size exceeded.
    at HTMLDivElement.focus (<anonymous>)
    at HTMLDocument.t (vendors~app-827f0f77bb434ce940b6.js:2)
    at HTMLTextAreaElement.select (<anonymous>)
    at I (vendors~app-827f0f77bb434ce940b6.js:2)
    at qa.reset (vendors~app-827f0f77bb434ce940b6.js:2)
    at kr (vendors~app-827f0f77bb434ce940b6.js:2)
    at HTMLTextAreaElement.<anonymous> (vendors~app-827f0f77bb434ce940b6.js:2)
    at HTMLTextAreaElement.select (<anonymous>)
    at I (vendors~app-827f0f77bb434ce940b6.js:2)
    at qa.reset (vendors~app-827f0f77bb434ce940b6.js:2)
benkeen commented 2 years ago

Appears to be CSV ET-specific.