Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erros de regex e fieldValue.map is not a function no Konecty #191

Open
CaduGomes opened this issue Dec 9, 2024 · 0 comments
Open

Erros de regex e fieldValue.map is not a function no Konecty #191

CaduGomes opened this issue Dec 9, 2024 · 0 comments

Comments

@CaduGomes
Copy link
Member

[2024-12-09 10:44:37.574 -0300] ERROR (1): Invalid regular expression: /[eèéêëẽ]l[DÐ][/: Unterminated character class
reqId: "req-1y7"
req: {
"method": "GET",
"url": "/rest/dne/BRA/RS/Porto%20Alegre/*/eld%5B?_dc=1733752037737",
"hostname": "crm.foxter.com.br",
"remoteAddress": "::ffff:10.244.5.28",
"remotePort": 58436
}
res: {
"statusCode": 500
}
err: {
"type": "SyntaxError",
"message": "Invalid regular expression: /[eèéêëẽ]l[DÐ][/: Unterminated character class",
"stack":
SyntaxError: Invalid regular expression: /[eèéêëẽ]l[DÐ][/: Unterminated character class
at new RegExp ()
at DNE_Place_List (/app/imports/dne/index.js:207:39)
at Object. (/app/server/routes/rest/dne/dne.js:24:50)
at preHandlerCallback (/app/node_modules/fastify/lib/handleRequest.js:137:37)
at validationCompleted (/app/node_modules/fastify/lib/handleRequest.js:121:5)
at preValidationCallback (/app/node_modules/fastify/lib/handleRequest.js:98:5)
at handler (/app/node_modules/fastify/lib/handleRequest.js:75:7)
at handleRequest (/app/node_modules/fastify/lib/handleRequest.js:24:5)
at runPreParsing (/app/node_modules/fastify/lib/route.js:609:5)
at next (/app/node_modules/fastify/lib/hooks.js:233:9)
at /app/node_modules/@fastify/cors/index.js:201:12
at Object.origin (/app/server/routes/index.js:122:9)
at /app/node_modules/@fastify/cors/index.js:256:27
at addCorsHeadersHandler (/app/node_modules/@fastify/cors/index.js:161:3)
at Object.handleCors (/app/node_modules/@fastify/cors/index.js:64:9)
at hookIterator (/app/node_modules/fastify/lib/hooks.js:405:10)
}
[2024-12-09 11:03:09.407 -0300] ERROR (1): Error executing query: fieldValue.map is not a function
err: {
"type": "TypeError",
"message": "fieldValue.map is not a function",
"stack":
TypeError: fieldValue.map is not a function
at getFieldValue (/app/imports/data/filterUtils.js:579:23)
at Object.targetPercent (/app/imports/data/filterUtils.js:589:28)
at /app/imports/data/api/find.js:254:34
at Array.reduce ()
at result.data.result.data.map.concurrency (/app/imports/data/api/find.js:253:62)
at pump (node:internal/streams/operators:141:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
[2024-12-09 11:04:20.480 -0300] ERROR (1): Error executing query: fieldValue.map is not a function
err: {
"type": "TypeError",
"message": "fieldValue.map is not a function",
"stack":
TypeError: fieldValue.map is not a function
at getFieldValue (/app/imports/data/filterUtils.js:579:23)
at Object.targetPercent (/app/imports/data/filterUtils.js:589:28)
at /app/imports/data/api/find.js:254:34
at Array.reduce ()
at result.data.result.data.map.concurrency (/app/imports/data/api/find.js:253:62)
at pump (node:internal/streams/operators:141:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
[2024-12-09 11:04:35.106 -0300] ERROR (1): Error executing query: fieldValue.map is not a function
err: {
"type": "TypeError",
"message": "fieldValue.map is not a function",
"stack":
TypeError: fieldValue.map is not a function
at getFieldValue (/app/imports/data/filterUtils.js:579:23)
at Object.targetPercent (/app/imports/data/filterUtils.js:589:28)
at /app/imports/data/api/find.js:254:34
at Array.reduce ()
at result.data.result.data.map.concurrency (/app/imports/data/api/find.js:253:62)
at pump (node:internal/streams/operators:141:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
[2024-12-09 11:10:53.427 -0300] ERROR (1): Error executing query: fieldValue.map is not a function
err: {
"type": "TypeError",
"message": "fieldValue.map is not a function",
"stack":
TypeError: fieldValue.map is not a function
at getFieldValue (/app/imports/data/filterUtils.js:579:23)
at Object.targetPercent (/app/imports/data/filterUtils.js:589:28)
at /app/imports/data/api/find.js:254:34
at Array.reduce ()
at result.data.result.data.map.concurrency (/app/imports/data/api/find.js:253:62)
at pump (node:internal/streams/operators:141:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant