Hello, community:
I'm facing an issue and could really use your help. I'm getting an error that I can't identify or resolve. I tried debugging, but I couldn't detect the root cause.
Currently, I have a component that calls another component from a different module. I've done some testing, but I still can't figure out what's causing the error.
I've already tried clearing the cache and browser data, but the problem persists.
I suspect the issue might be related to an event or coming from a specific block, but I'm not sure.
Has anyone encountered a similar error or has any ideas on how to resolve it?
I appreciate any suggestions!Best regards.
Hello Cristian,
Just based on that description, it's quite hard to give a proper answer.
Do you have any JavaScript running in the page?
As a suggestion, try to check the browser's console, it may give you some extra information about the error.
Kind regards,
Rui Barradas
Hi Rui,
Thanks for your suggestion! I'll check if there's any JavaScript running on the page.
It's been challenging to find the error, but I'll keep investigating today.
Hi Cristian,
Is it because you are using these server actions, and the Expand Inline is not set to yes in your SQL?
Hi Jun Mun,
I'm not using SQL Server; I'm working with the local database. Could you explain more about the "Expand Inline"?
Thanks!
Its seams you are not setting Expand Inline = True but its very hard to tell can you please provide oml or more detail like sql or use tes sql ?
Hi Navneet,
This is the second time someone mentions "Expand Inline = True." Where can I check that? The issue is that the component itself doesn't show any errors, but when I use it inside a parent component, the error appears.
I'm not using SQL Server; I'm working with the local database.
Hi,
SQL Query, when IN clause condition multiple values with comma separated should be there
you can use string join function to join all dates in string format then pass it in SQL
Regards
Shradha
Hi Shradha,
I'm not using SQL queries, but I'll look into the functions and string formats to see if I can find something there. Thanks for the suggestion!
I hope to find the error today.
Best regards!
to all recent responders, this is NOT related to sql or expand inline.
It is a javascript message, as can be easily found with google, and as was already hinted at 12 hours ago by @Rui Barradas
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/in_operator_no_object
@Cristian Angel Puma Villalva , not possible to help further without an oml with the actual problem in it, but the 'undefined' part would suggest that somewhere a piece of javascript is trying to use the 'in' operator on an object that is not defined (yet).
This could be because you are not using the underlying modules as intended or in the correct sequence, or they are not built very robust.
Dorine
Hi Dorine,
You’re absolutely correct; I’m not using SQL Server queries, just working with data through blocks.
Thank you for the explanation! I’ll review the block sequences and check the JavaScript executions step by step. Hopefully, I’ll be able to identify the issue.
Thanks again, and best regards!
Hello @Cristian Angel Puma Villalva
I encountered a similar issue before, though I don’t recall the exact use case. The root cause was that a JavaScript function was setting a variable during screen loading, but it ran before the data had fully loaded. As a result, the error occurred when trying to set the value. The solution was to ensure that the data was fully loaded before executing the JavaScript, which resolved the issue.
My suggestion is the same—make sure all data is fully loaded before the screen is rendered.
GdAlmeida