SalesforceLabs / OrgCheck

Org Check is an easy-to-install and easy-to-use Salesforce application in order to quickly analyze your org and its technical debt.
MIT License
131 stars 28 forks source link

Getting TypeError for visual components from ORG check app in PROD #453

Open Ramiya04 opened 4 weeks ago

Ramiya04 commented 4 weeks ago
Screen Shot 2024-11-03 at 9 10 24 PM

Describe the bug After installing ORGCheck app in production, clicking on Visual Components tab is giving the attached error.

To Reproduce Org Check is spinning around for 1 seconds...

We really apologize for this error.

Please consider logging a new issue with all information that may help to reproduce the error you have (including some red message in your browser console).

Thank you!

TAB visual-force-pages TypeError: TypeError at eval (modules/orgcheck/orgcheckApp.js:3:53191) at Array.forEach () at eval (modules/orgcheck/orgcheckApp.js:3:53059) at Proxy.forEach () at eval (modules/orgcheck/orgcheckApp.js:3:53027) at eval (eval at (https://york--orgcheck.vf.force.com/auraFW/javascript/ZzhjQmRxMXdrdzhvS0RJMG5qQVdxQTdEcXI0cnRHWU0zd2xrUnFaakQxNXc5LjMyMC4y/aura_prod.js:105:100625), :3:23715) at en. (https://york--orgcheck.vf.force.com/auraFW/javascript/ZzhjQmRxMXdrdzhvS0RJMG5qQVdxQTdEcXI0cnRHWU0zd2xrUnFaakQxNXc5LjMyMC4y/aura_prod.js:105:68834) RECIPE visual-force-pages Error in dataset! DATASET visual-force-pages TypeError: TypeError at eval (modules/orgcheck/orgcheckApp.js:3:53191) at Array.forEach () at eval (modules/orgcheck/orgcheckApp.js:3:53059) at Proxy.forEach () at eval (modules/orgcheck/orgcheckApp.js:3:53027) at eval (eval at (https://york--orgcheck.vf.force.com/auraFW/javascript/ZzhjQmRxMXdrdzhvS0RJMG5qQVdxQTdEcXI0cnRHWU0zd2xrUnFaakQxNXc5LjMyMC4y/aura_prod.js:105:100625), :3:23715) at en. (https://york--orgcheck.vf.force.com/auraFW/javascript/ZzhjQmRxMXdrdzhvS0RJMG5qQVdxQTdEcXI0cnRHWU0zd2xrUnFaakQxNXc5LjMyMC4y/aura_prod.js:105:68834)

VinceFINET commented 1 week ago

What a stack trace !! I need to change that as well cause it's not easy to understand what's wrong... BUT I will work on this.

VinceFINET commented 1 week ago

can you send me the orgID where you see this issue? if confidential send it to me via DM.

VinceFINET commented 1 week ago

@Ramiya04 any update on this one?

Ramiya04 commented 1 week ago

Sorry, I will get back to you by Monday.Thanks,Ramiya Sent from my iPhoneOn Nov 22, 2024, at 10:36 AM, Vincent FINET @.***> wrote: @Ramiya04 any update on this one?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 5 days ago

any feedback?

Ramiya04 commented 4 days ago

Hi there,

This is the first time I am working on a SalesforceLab application. So if i give you the org ID, would you be able to log into the org or do you need any additional information? How do you proceed with org ID at your end?

Thank you, Ramiya

On Thu, Nov 28, 2024 at 4:00 AM Vincent FINET @.***> wrote:

any feedback?

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2505587232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGQ5PEVKDGHCJLDX5M32C3LTVAVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBVGU4DOMRTGI . You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 4 days ago

no issue. I can't log to your org with the org id. for me it's just an information that i can use to see what was wrong with org check. If you will it's more to see further than this unreadable stack trace!

Ramiya04 commented 4 days ago

THe org id is 00DG0000000kvNa

This is a production environment, but it shows "Trial" environment on the page. I've attached a screenshot. Please check.

Thanks, Ramiya

On Thu, Nov 28, 2024 at 10:45 AM Vincent FINET @.***> wrote:

no issue. I can't log to your org with the org id. for me it's just an information that i can use to see what was wrong with org check. If you will it's more to see further than this unreadable stack trace!

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2506399054, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGW2XQMKCMXLTVNEINT2C43BDAVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWGM4TSMBVGQ . You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 4 days ago

Ok

Can you run the following SOQL queries using the Tooling API please:

first one:

SELECT COUNT(Id)
FROM ApexPage 
WHERE ManageableState IN ('installedEditable', 'unmanaged')

second one:

SELECT NamespacePrefix, COUNT(Id)
FROM ApexPage 
WHERE ManageableState IN ('installedEditable', 'unmanaged')
GROUP BY NamespacePrefix

And give me the output of the two.

Thank you!

VinceFINET commented 4 days ago

(using the tooling api)

Ramiya04 commented 4 days ago

Output 1: 301 counts

Output 2

NamespacePrefix

COUNT(Id)

301

On Thu, Nov 28, 2024 at 1:09 PM Vincent FINET @.***> wrote:

(using the tooling api)

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2506608870, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGQFUCG7ZA3E3CLYVOD2C5L53AVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWGYYDQOBXGA . You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 3 days ago

let me insert that amount of VIsualforce Pages in my test org and see if that comes from the number of pages...

VinceFINET commented 3 days ago

I inserted fake Visual Force Pages in my test org. Unfortunately, I could not reproduce the error you have. image

VinceFINET commented 3 days ago

Is it possible to plan a screen share next week?

Ramiya04 commented 3 days ago

This is working fine in a sandbox with same amount of vf page. It’s just this org is having the issue. I think the error is related to something else.

On Fri, Nov 29, 2024 at 12:50 PM Vincent FINET @.***> wrote:

I inserted fake Visual Force Pages in my test org. Unfortunately, I could not reproduce the error you have. image.png (view on web) https://github.com/user-attachments/assets/cf809a27-0af5-4c44-a0c6-af2db38154bc

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2508207498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGUXXXHNH5Y2QOVLJBT2DCSN7AVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBYGIYDONBZHA . You are receiving this because you were mentioned.Message ID: @.***>

Ramiya04 commented 3 days ago

Sure. I am available Tuesday, Thursday, Friday after 11am next week.

On Fri, Nov 29, 2024 at 12:51 PM Vincent FINET @.***> wrote:

Is it possible to plan a screen share next week?

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2508208461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGRGN6HYCKQ2DBZJIPL2DCSSRAVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBYGIYDQNBWGE . You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 1 day ago

Can you set your user in production with "Debug Mode"

image

Then launch Org Check again and see if the stacktrace can be more explicit...

Ramiya04 commented 1 day ago

There is no debug log being generated for this issue. Attached picture is from the inspect page.

[image: Screen Shot 2024-12-02 at 9.54.39 AM.png]

On Mon, Dec 2, 2024 at 9:37 AM Vincent FINET @.***> wrote:

Can you set your user in production with "Debug Mode" image.png (view on web) https://github.com/user-attachments/assets/3d702102-9c60-4eae-9423-b5d365db27bb

Then launch Org Check again and see if the stacktrace can be more explicit...

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2511714139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGVKSRG2XSE37ARNKRD2DRWBZAVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJRG4YTIMJTHE . You are receiving this because you were mentioned.Message ID: @.***>

VinceFINET commented 23 hours ago

i don't see any picture in github sorry

Ramiya04 commented 23 hours ago

Do you see it now?

On Mon, Dec 2, 2024 at 11:07 AM Vincent FINET @.***> wrote:

i don't see any picture in github sorry

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/453#issuecomment-2511952963, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZRGWVTIK23QLNBQJTLDL2DSAVLAVCNFSM6AAAAABRDKOA66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJRHE2TEOJWGM . You are receiving this because you were mentioned.Message ID: @.***>