CoreBOSBB
no filter shown in Reports - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: no filter shown in Reports (/showthread.php?tid=1958)

Pages: 1 2


no filter shown in Reports - slechaix - 09-22-2020

Hello
I have migrated from VT5.4 to latest CB. Everything seems to work smoothly except filter fields in Reports.

If I click on New Condition Button, I got this error:
   Uncaught ReferenceError: COL_BLOCK is not defined

   addConditionRow http://x.x.x.x/index.php?module=Reports&action=SaveAndRun&record=1&folderid=1:122

   onclick http://x.x.x.x/index.php?module=Reports&action=SaveAndRun&record=1&folderid=1:

Any idea how to fix ? thanks

Steve


RE: no filter shown in Reports - slechaix - 10-06-2020

Hello,

Can somebody help me on this one ?
I tried to fix it but whithout success.

I don't understand this error as COL_BLOCK seems to be well defined in :
Reports.js: COL_BLOCK = returnFullList(response.COLUMNS_BLOCK);
ReportsSteps.js:var COL_BLOCK;

S.


RE: no filter shown in Reports - joebordes - 12-06-2020

Hi

sorry for the late reply. is this still an issue? probably related to incorrect service worker cache. You have to make sure you have the latest version of the javascript code

if you still have this problem, answer the post again and I'll have a look where that COL_BLOCK is being used


RE: no filter shown in Reports - slechaix - 12-07-2020

(12-06-2020, 09:27 PM)joebordes Wrote: Hi

sorry for the late reply. is this still an issue?  probably related to incorrect service worker cache. You have to make sure you have the latest version of the javascript code

if you still have this problem, answer the post again and I'll have a look where that COL_BLOCK is being used

Hi Joe,

No worry.

Yes the problem is still there, not critical but a bit annoying.
I tried to update to the latest code by using cbupdater, not sure if it did update the code though.

Thanks for your help.

ps: I have this updates pending


RE: no filter shown in Reports - joebordes - 12-07-2020

I had a look, it does seem like COL_BLOCK is correctly defined.
There are some changesets there that should be executed but most are optional.

Can I have access to your system? I don't think I will be able to help without reproducing it and I am a bit curious.

You could try updating, just in case. You have to pull in the latest code from github and then load and apply all the changesets. I would try that before investigating more.


RE: no filter shown in Reports - slechaix - 12-07-2020

(12-07-2020, 10:25 PM)joebordes Wrote: I had a look, it does seem like COL_BLOCK is correctly defined.
There are some changesets there that should be executed but most are optional.

Can I have access to your system?  I don't think I will be able to help without reproducing it and I am a bit curious.

You could try updating, just in case. You have to pull in the latest code from github and then load and apply all the changesets. I would try that before investigating more.

Yes, I have tried 2 months ago to pull all the latest code from github et apply all the changesets. The problem was still there.
Let me prepare an access for you. Can you please provide me your email so I'll send your credential in private? 

 


RE: no filter shown in Reports - joebordes - 12-08-2020

sent private message here in the forum


RE: no filter shown in Reports - joebordes - 12-25-2020

this should fix it: https://github.com/tsolucio/corebos/commit/fecfca70f18af3276da3dd171ac489feb8a46c70

I added that change manually to your install and it seems to be working. you will have to undo that change and pull in the latest version when you can

Let me know how it goes

Merry Christmas!!


RE: no filter shown in Reports - slechaix - 01-07-2021

(12-25-2020, 12:26 AM)joebordes Wrote: this should fix it:  https://github.com/tsolucio/corebos/commit/fecfca70f18af3276da3dd171ac489feb8a46c70

I added that change manually to your install and it seems to be working. you will have to undo that change and pull in the latest version when you can

Let me know how it goes

Merry Christmas!!

Thanks a lot Joe! best wishes and happy new year !!

We will test and let you know how it goes


RE: no filter shown in Reports - joebordes - 01-07-2021

ok