Skip to content

Step named 'map' can crashes amber-visit #12

@kazoompa

Description

@kazoompa
  • Create an interview
  • Name the step map

When you try to save the interview the app crashes since it cannot find the map function:

itw.js:283 Uncaught (in promise) TypeError: itw.value.steps.map is not a function
    at saveRecord (itw.js:283:12)
    at Proxy.completeRecord (itw.js:259:14)
    at Proxy.<anonymous> (pinia.mjs:1375:30)
    at store.<computed> (pinia.mjs:930:50)
    at Proxy.onComplete (InterviewStep.vue:489:23)
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)
    at emit (runtime-core.esm-bundler.js:664:5)
    at navigateOnClick (quasar.esm.js:2968:7)
    at onClick (quasar.esm.js:3700:7)

Rename that and everything works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions