Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no filter shown in Reports
#1
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


Attached Files Image(s)
   
Reply
#2
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.


Attached Files Image(s)
   
Reply
#3
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
Joe
TSolucio
Reply
#4
(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


Attached Files Image(s)
   
Reply
#5
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.
Joe
TSolucio
Reply
#6
(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? 

 
Reply
#7
sent private message here in the forum
Joe
TSolucio
Reply
#8
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!!
Joe
TSolucio
Reply
#9
(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
Reply
#10
ok
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)