eduardosuruagy Posted July 21, 2020 Posted July 21, 2020 What is the reason for this error happening, can anyone tell me? Thank you! Event:click, Object: O1CE6 not found in session list. It could be timed out, refresh page and try again Quote
Hayri ASLAN Posted July 21, 2020 Posted July 21, 2020 Servermodule- suppresserrors-check both. You are accessing an element before it created or rendered. Quote
eduardosuruagy Posted July 21, 2020 Author Posted July 21, 2020 9 hours ago, Hayri ASLAN said: Servermodule- suppresserrors-check both. You are accessing an element before it created or rendered. How can I find out where this is happening? What does that mean? Servermodule- suppresserrors-check both. Quote
eduardosuruagy Posted July 24, 2020 Author Posted July 24, 2020 On 21/07/2020 at 00:08, Hayri ASLAN said: Servermodule- suppresserrors-check ambos. Você está acessando um elemento antes que ele seja criado ou renderizado. ?? Quote
Hayri ASLAN Posted July 24, 2020 Posted July 24, 2020 Hi, Please create a test case so we can analyze how it's happening. Quote
eduardosuruagy Posted July 24, 2020 Author Posted July 24, 2020 14 minutes ago, Hayri ASLAN said: Oi, Crie um caso de teste para que possamos analisar como isso está acontecendo. If I knew how this was happening I would try to correct it myself, since there are errors in Unigui that occur randomly. How can I find the object with the name O1CE6? Quote
Hayri ASLAN Posted July 24, 2020 Posted July 24, 2020 We are not getting this error in our demo. So there must be a code that causing this in your side. You can use console of browser to check objects Quote
Ronbral Posted July 25, 2020 Posted July 25, 2020 12 hours ago, eduardosuruagy said: Se eu soubesse como isso estava acontecendo, tentaria corrigi-lo, pois existem erros no Unigui que ocorrem aleatoriamente. Como posso encontrar o objeto com o nome O1CE6? You can use this approach to find and relate components between SS / CS: {$DEFINE IN_DEBUG} // Comentar esta linha em Produção procedure TUniMainModule.UniGUIMainModuleNewComponent(AComponent: TComponent); begin {$IFDEF IN_DEBUG} if AComponent.ClassName = 'TUniContainerPanel' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniContainerPanel(AComponent).JSName) else if AComponent.ClassName='TUniHTMLFrame' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniHTMLFrame(AComponent).JSName) else if AComponent.ClassName='TUniImage' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniImage(AComponent).JSName) else if AComponent.ClassName='TUniLabel' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniLabel(AComponent).JSName) else if AComponent.ClassName='TUniTimer' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniTimer(AComponent).JSName) else if AComponent.ClassName='TUniMenuItem' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniMenuItem(AComponent).JSName) else if AComponent.ClassName='TUniSimplePanel' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniSimplePanel(AComponent).JSName) else if AComponent.ClassName='TUniEdit' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniEdit(AComponent).JSName) else if AComponent.ClassName='TUniProgressBar' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniProgressBar(AComponent).JSName) else if AComponent.ClassName='TUniButton' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniButton(AComponent).JSName) else if AComponent.ClassName='TUniDBGrid' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniDBGrid(AComponent).JSName) else if AComponent.ClassName='TUniNumberEdit' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniNumberEdit(AComponent).JSName) else if AComponent.ClassName='TUniHiddenPanel' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniHiddenPanel(AComponent).JSName) else if AComponent.ClassName='TUniMemo' then K.ALog(AComponent.Name+' / '+AComponent.ClassName+' = '+TUniMemo(AComponent).JSName) else K.ALog(AComponent.Name+' / '+AComponent.ClassName); {$ENDIF} end; Where K.Log (...) is your Log / Debug system. (Unigui provides one) You will get this output: ... 24/07/2020 21:38:35: UniButton38 / TUniButton = OCDF 24/07/2020 21:38:35: btWIBOn / TUniButton = OCE3 24/07/2020 21:38:35: UniButton4 / TUniButton = OCE7 24/07/2020 21:38:35: UniButton5 / TUniButton = OCEB 24/07/2020 21:38:35: UniButton6 / TUniButton = OCEF 24/07/2020 21:38:35: UniButton7 / TUniButton = OCF3 24/07/2020 21:38:35: UniButton9 / TUniButton = OCF7 24/07/2020 21:38:35: UniImage1 / TUniImage = OCFB 24/07/2020 21:38:35: UniLabel1 / TUniLabel = OCFF 24/07/2020 21:38:35: btCleanASCache / TUniButton = OD03 24/07/2020 21:38:35: btEv11500 / TUniButton = OD07 24/07/2020 21:38:35: btHTEditor / TUniButton = OD0B 24/07/2020 21:38:35: btParams / TUniButton = OD0F 24/07/2020 21:38:35: btSynCRC32 / TUniButton = OD13 24/07/2020 21:38:35: btPopGenerica / TUniButton = OD17 24/07/2020 21:38:35: btCreditosSMS / TUniButton = OD1B 24/07/2020 21:38:35: btGetStr / TUniButton = OD1F 24/07/2020 21:38:35: btFormTheme / TUniButton = OD23 24/07/2020 21:38:35: btFormStatus / TUniButton = OD27 24/07/2020 21:38:35: btSendSMS / TUniButton = OD2B 24/07/2020 21:38:35: btSysProp / TUniButton = OD2F 24/07/2020 21:38:35: btDownloadFile / TUniButton = OD33 24/07/2020 21:38:35: btListaFilesSrv / TUniButton = OD37 24/07/2020 21:38:35: btDeskOpts / TUniButton = OD3B 24/07/2020 21:38:35: btExportPKG / TUniButton = OD3F 24/07/2020 21:38:35: btVarOld / TUniButton = OD43 24/07/2020 21:38:35: btVariantNull / TUniButton = OD47 ... Of course you can filter and define the classes of interest in investigate ... Quote
Alf Posted August 18, 2020 Posted August 18, 2020 Hi, did you find any solution? I have a similar situation. Quote
Sherzod Posted August 18, 2020 Posted August 18, 2020 1 hour ago, Alf said: I have a similar situation. Hi, How can we reproduce this issue? Quote
Alf Posted August 18, 2020 Posted August 18, 2020 In my case just use a Button widget in the last column and do filter several times. I just removed that button and worked. The button has nothing but an onclick event to open a form but I think that the problem is in the widget. If you want to try it I can show you the code. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.