Roman Chutchev
Roman Chutchev
Adding part data from OctoPart yields "Uncaught TypeError: this.data.specs[i].metadata is undefined"
Hello, i've same problem. Logs: main2.js:30391 Uncaught TypeError: Cannot read property 'unit' of undefined at g.checkRequirements (main2.js:30391) at g.applyData (main2.js:30619) at g.onPartDataLoaded (main2.js:30360) at Object.callback (extjs.js:22) at F.onComplete (extjs.js:22) at...
Adding part data from OctoPart yields "Uncaught TypeError: this.data.specs[i].metadata is undefined"
> You are not using the latest code; compare to > > https://github.com/partkeepr/PartKeepr/blob/c6323d57ddc8e7a13d29d2a7a111d7ac2b1dfa40/src/PartKeepr/FrontendBundle/Resources/public/js/Components/OctoPart/DataApplicator.js#L81 Yes, it helped me a lot, thank you! 
That's the 'log' from the browser's console (new sentryTrace ID only after page reloaded event) 
> Hey @RChutchev thanks for writing in! I think we're talking about multiple issues here: > > > I'm getting this (no page view) > > So in this case...
> @RChutchev Do you have a working solution for it? Hello, nope and I forget about this issue a little bit b/c was busy with another functionality. IDK what's going...
> @RChutchev Do you have a working solution for it? See also [this](https://github.com/getsentry/sentry-javascript/discussions/8528) discussion if your project requires custom routing. Perhaps Mr. @AbhiPrasad will post an update for a function...
> @RChutchev - we'll update the docs for better inertia js examples, it's on my todo! Thanks, that's great! I hope it will be done soon.
> A more formal guide will take atleast a couple months, the team is busy with some other projects. That does suck though - so here's a quick guide I...
@AbhiPrasad, thanks for offering a solution, anyway it's working better but only partially working for me, 2 different problems, I'm getting errors in the console for ```javascript route().current(); ``` but...
> @RChutchev The problem with route() is that ne first parameter in the callback is called also route ... so this will be a conflict. Change the parameter so something...