amrihuang Posted June 17, 2011 Posted June 17, 2011 Dear Farshad Mohajeri, my test framework has some question, will occur ajax error "Cannot read property 'dom' of undefined" the state is: 1st, open a frame in PageControl's tabsheet1, 2nd, open another frame in PageControl's tabsheet2, 3rd, close the 1st frame and free the tabsheet1 4th, reopen the 1st frame in PageControl's new sheet then in chrome browser will occur ajax error, with firefox will dead or crash; I make a test project, this time I encountered other problems, you can test, then according to this order with button click, Create sheet1--Create sheet2--Free Sheet1--Create Sheet1 then in web ,the last recreate sheet1 has not to be show Others,, this forum,, only 500K to global upload has too small! Thanks Project2.rar
Administrators Farshad Mohajeri Posted June 17, 2011 Administrators Posted June 17, 2011 The only bug that I could reproduce is that 2nd time Sheet1 is created it is not visible which seems to be an Ext JS bug. logged #1051 I'm not aware that we have a 500K limit. Maybe it is IPB default limit. I think for source code upload it is enough.
Administrators Farshad Mohajeri Posted June 17, 2011 Administrators Posted June 17, 2011 I increased the per user global upload limit to 10MB.
amrihuang Posted June 17, 2011 Author Posted June 17, 2011 hi, Farshad Mohajeri, the test project, if 1st create sheet1,,2nd create sheet2,,3rd free sheet1,,last recreate sheet1 is occured this problem but 1st create sheet2,,2nd create sheet1,,3rd free sheet1,,last recreate sheet1 is ok! so I think my another test framework occur the ajax error "Cannot read property 'dom' of undefined" has a relationship with this problem. therefor, looking forward to the issue #1051 will be fixed netx build. many thanks also, the user global upload 10M is ok now, I remain 9.5M can uses, thanks!
Administrators Farshad Mohajeri Posted June 17, 2011 Administrators Posted June 17, 2011 Please try again with attached DCU. (Delphi XE) UniPageControl.dcu
amrihuang Posted June 17, 2011 Author Posted June 17, 2011 [DCC Fatal Error] Project2.dpr(9): F2051 Unit uniGUIServerCP was compiled with a different version of uniPageControl.TUniPageControl Delphi Version: XE Thanks
Administrators Farshad Mohajeri Posted June 18, 2011 Administrators Posted June 18, 2011 [DCC Fatal Error] Project2.dpr(9): F2051 Unit uniGUIServerCP was compiled with a different version of uniPageControl.TUniPageControl Delphi Version: XE Thanks Note: New DCUs fix a bug in UniCalandarPanel Ext JS code, so to use CalnedarPanel attached JS file must be put in folder: "ext-3.3.0\examples\calendar" Delphi2011.rar calendar-all-patch.rar
amrihuang Posted June 18, 2011 Author Posted June 18, 2011 this issue is ok, but found another question! operate like this order in web: 1st create sheet1-->2nd create sheet2-->(click sheet1 to active sheet by mouse)-->Free sheet1 [current active sheet point to Main]-->(click sheet2 to active sheet by mouse)-->Create Sheet1 It should be active current "create sheet1",, but it fact is no. please test uses attach project Other, my another test framework still throw ajax error "Cannot read property 'dom' of undefined" in chrome. I will try my best to simulate a project. Thanks Project2.rar
amrihuang Posted June 19, 2011 Author Posted June 19, 2011 Another, in my test project, I found: if I click the active page all time in 1st page, it will not throw ajax error "Cannot read property 'dom' of undefined" but if I click the active page is not in 1st page, reopen origin page(it has been created and then be freed), will throw ajax error "Cannot read property 'dom' of undefined" thanks.
Administrators Farshad Mohajeri Posted June 19, 2011 Administrators Posted June 19, 2011 Another, in my test project, I found: if I click the active page all time in 1st page, it will not throw ajax error "Cannot read property 'dom' of undefined" but if I click the active page is not in 1st page, reopen origin page(it has been created and then be freed), will throw ajax error "Cannot read property 'dom' of undefined" It is not clear from above statement.Please write the exact steps to reproduce it.
amrihuang Posted June 20, 2011 Author Posted June 20, 2011 at last, I simulate a project to occur ajax error "Cannot read property 'dom' of undefined" in chrome, and in firefox occur ajax error "O168.el is undefined" I think the error is the toolbar made. please use the attach file project4 to test, you operate like button order to click, it will occur ajax error. thanks Project4.rar
Administrators Farshad Mohajeri Posted June 20, 2011 Administrators Posted June 20, 2011 I couldn't reproduce this probably as a result of recent changes and fixes I done to PageControl component. I will release another build for 0.85.
amrihuang Posted June 20, 2011 Author Posted June 20, 2011 Thanks. the screen cut for your reference.
amrihuang Posted June 21, 2011 Author Posted June 21, 2011 uses version 0.85.0.874 to build, the problem is not occured! thanks.
Recommended Posts