partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Adding a distributor to a project report #505

Closed fulcrum3d closed 4 years ago

fulcrum3d commented 8 years ago

Hi Felicitus,

when trying to add several Distributors to a project report it gets very buggy after 10 to 15 adds. And it is not possible to add more..

Maybe you can help.

Cheers

Drachenkaetzchen commented 8 years ago

Can you elaborate what do you mean by "gets very buggy"?

Do you get any JavaScript errors on the JS console of your browser?

fulcrum3d commented 8 years ago

Well it's not easy to explain, but basically the box with all the parts is "jumping" from the top to the middle of the page for example, after adding several distributors successfully. After that you are not able to add anymore new distributors from the drop down in the project report.

I think it is a JavaScript error, because nothing happens if you click on the box for adding a distributor, but the browser is not telling me anything.

Drachenkaetzchen commented 8 years ago

It's hard to fix the issue without knowing when it occurs. Can you reproduce this somehow? Which browser are you using? You can see the JS console in Firefox and Chrome by pressing F12, but you usually need to do that prior the problem occurs.

fulcrum3d commented 8 years ago

We're using Chrome Version 46.0.2490.86 (64-bit)

on error, the console shows: main2.js:11371 Uncaught TypeError: Cannot read property '0' of undefined

Thanks for your help.

fulcrum3d commented 8 years ago

The same is happening with Mozilla Firefox.

Drachenkaetzchen commented 8 years ago

I forgot that the main2.js file is different for each installation. Can you do the same, but use web/app_dev.php instead of /web?

You also need to remove lines 10-18 of app_dev.php if you need to open app_dev.php from a host other than localhost.

fulcrum3d commented 8 years ago

Thanks felicitus. I enabled app_dev.html and received the following error:

Uncaught TypeError: Cannot read property 'down' of null main_ext-all-debug_1.js

Drachenkaetzchen commented 8 years ago

Is there a line number displayed? In general, please give as much info as possible.

fulcrum3d commented 8 years ago

Sorry, thought I had included the number:

Uncaught TypeError: Cannot read property 'down' of null main_ext-all-debug_1.js main_ext-all-debug_1.js:186487

Drachenkaetzchen commented 8 years ago

Hmm to bad this isn't helping…when it occurs again, can you check if there's an arrow in front of that error? If so, please click it and send the data to me (you could also attach a screenshot to this issue).

Like so: image

This gives me information about the root cause of the error.

fulcrum3d commented 8 years ago

apologies for the delay, Felicitus.

I've attached the trace of the error. It still occurs after the update to 0.76.

screenshot from 2015-12-03 16 45 28

Drachenkaetzchen commented 8 years ago

Unfortunately the error doesn't give any meaningful insight, as it seems that the whole error occurs within ExtJS itself.

Unless knowing how to reproduce, I'm afraid there's nothing I can do from my side.

Drachenkaetzchen commented 8 years ago

If you can provide a screenshot of the oddity happening, maybe I can guess what the issue could be.

The hardest issues are those which are hard to reproduce ;) Also, you could see if you can reproduce the issue somehow on https://demo.partkeepr.org

fulcrum3d commented 8 years ago

I will send you a screenshot tomorrow. (If it is still necessary)

When i click Autofill 5 to 10 prices are correct. The other prices are just repetitions of the same price. So the column looks like this: 8.41$ (correct) 4.23$ 7.20$ 0.002 0.002 Incorrect 0.002 0.002 0.002 0.001 0.001 0.001 0.001 0.001

Am 15.12.2015 um 8:19 nachm. schrieb Timo A. Hummel notifications@github.com<mailto:notifications@github.com>:

If you can provide a screenshot of the oddity happening, maybe I can guess what the issue could be

— Reply to this email directly or view it on GitHubhttps://github.com/partkeepr/PartKeepr/issues/505#issuecomment-164696329.

baradhili commented 4 years ago

closing this as no activity for 5 years