Jump to content

What is the reason for this error happening, can anyone tell me? Event:click, Object: O1CE6 not found in session list. It could be timed out, refresh page and try again


eduardosuruagy

Recommended Posts

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?

Link to comment
Share on other sites

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 ...
 

Link to comment
Share on other sites

  • 4 weeks later...

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. 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...