AppFarm Crashing Every time I Click Query Parameter in Services Endpoint View

Hi,

I am getting this,

Every time I click Query Parameter in Services Endpoint View.

1 Like

Hello,

Does this happen for all service endpoints and all Query Paramters, or just one Query Paramter?
I am not able to replicate the issue, so some more details would be much appreciated.
I have also sent you a DM.

// Erik

1 Like

Amazingly :smiling_face_with_tear: it is specifically happening with Query Parameter “CompanyID” only with two of the endpoints. It works fine for FromDate / ToDate for both endpoints.

I am not sure if below console dump is useful but one of my college found it whenever this issue occurred,

TypeError: p is not a function
at Object.validation (3804.cd81a16e30a660228579.js:1:151106)
at kw (main.382feb3c06100e32e193.js:1:1492408)
at main.382feb3c06100e32e193.js:1:1496774
at Array.map ()
at kB (main.382feb3c06100e32e193.js:1:1495837)
at i.value (main.382feb3c06100e32e193.js:1:1504111)
at sb (2568.517976dc974c02aa0871.js:7522:75816)
at sg (2568.517976dc974c02aa0871.js:7522:75614)
at l (2568.517976dc974c02aa0871.js:7522:120404)
at aP (2568.517976dc974c02aa0871.js:7522:99078)
at 2568.517976dc974c02aa0871.js:7522:98944
at aB (2568.517976dc974c02aa0871.js:7522:98952)
at aE (2568.517976dc974c02aa0871.js:7522:95703)
at aT (2568.517976dc974c02aa0871.js:7522:96092)
at i8 (2568.517976dc974c02aa0871.js:7522:44821)
at 2568.517976dc974c02aa0871.js:7522:93602

1 Like

Hi,

We found a weakness for Query Params that use RegExp validation in your stacktrace.
Do you know if you are using RegExp for Query Param validation on CompanyID :smile:

// Erik

Erik, not sure as not able to check it. But I made this a mandatory parameter of string type.

Hi again,

107 contains a fix that might resolve your issue.
Does the issue still occur?

// Erik

It is not an issue anymore. Thank you.