Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Adding a gift option breaks campaign #1106

Open
BenSturmfels opened this issue Apr 20, 2022 · 1 comment
Open

[BUG] Adding a gift option breaks campaign #1106

BenSturmfels opened this issue Apr 20, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@BenSturmfels
Copy link
Contributor

I can create a campaign by clicking through and adding a name, description etc. The campaign successfully accepts payments. If I then add a gift option, I see a bunch of JavaScript errors in the console, and the donate button no longer works.

The error in the browser console (development mode):

Uncaught TypeError: vnode.data is undefined
    updateEventListeners eventlisteners.js:22
    createElm snabbdom.js:95
    createElm snabbdom.js:88
    createElm snabbdom.js:88
    addVnodes snabbdom.js:113
    updateChildren snabbdom.js:222
    patchVnode snabbdom.js:253
    updateChildren snabbdom.js:183
    patchVnode snabbdom.js:253
    init snabbdom.js:285
    ns index.js:31
    updateStream index.js:492
    updateDeps index.js:528
    updateStreamValue index.js:589
    s index.js:425
    request index.js:34
    request index.js:25
    exports request.js:10
    index gift-option-list.js:41
    init gift-option-list.js:28
    init page.js:51
    js page.js:168
    Webpack 5
eventlisteners.js:22

Perhaps also worth noting that after adding a gift item, the title and description show as blank in the "Manage Gift Options" dialog. May or may not be related.

@BenSturmfels BenSturmfels added the bug Something isn't working label Apr 20, 2022
@BenSturmfels
Copy link
Contributor Author

@wwahammy if you had a chance, would be great if you could take a look at this one. The gift option would be very useful for T-shirts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant