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

Pasting ingredients does not work, ID undefined #2519

Closed
Forceu opened this issue Jun 26, 2023 · 1 comment
Closed

Pasting ingredients does not work, ID undefined #2519

Forceu opened this issue Jun 26, 2023 · 1 comment

Comments

@Forceu
Copy link
Contributor

Forceu commented Jun 26, 2023

Tandoor Version

1.5.3

Setup

Docker / Docker-Compose

Reverse Proxy

Others (please state below)

Other

Nginx

Bug description

When pasting ingredients on a new recipe, only a JS error is logged.

I pasted the following string:

1 kg Kartoffeln (Pellkartoffeln vom Vortag)

3 Zucchini

500 g Cocktailtomaten

2 EL Olivenöl

Salz

200 g ja! Kräuterquark

Pfeffer

Relevant logs

katex.min.js:1 Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.
1../src/ParseError @ katex.min.js:1
n @ katex.min.js:1
e @ katex.min.js:1
(anonymous) @ katex.min.js:1
(anonymous) @ katex.min.js:1
(anonymous) @ katex.min.js:1



TypeError: Cannot read properties of undefined (reading 'id')
    at edit_internal_recipe.cf66f808e5f3.js:1:18431
    at o.Tt [as _l] (chunk-vendors.f97ae76c89ae.js:1060:14350)
    at edit_internal_recipe.cf66f808e5f3.js:1:18377
    at o.Tt [as _l] (chunk-vendors.f97ae76c89ae.js:1060:14350)
    at o.n (edit_internal_recipe.cf66f808e5f3.js:1:11765)
    at e._render (chunk-vendors.f97ae76c89ae.js:1060:20103)
    at o.n (chunk-vendors.f97ae76c89ae.js:1060:24095)
    at e.get (chunk-vendors.f97ae76c89ae.js:1060:33537)
    at e.run (chunk-vendors.f97ae76c89ae.js:1060:34274)
    at Wr (chunk-vendors.f97ae76c89ae.js:1060:26282)
@vabene1111
Copy link
Collaborator

fixed, broke that a while ago when adding that the sorting is maintained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants