SFDO-Community/OmbudsmanCloudCare

Sailors Missing Rank or Email Dashboard Error

Closed this issue · 10 comments

Getting error when loading the Dashboard of Zeros - Data. Caused due to Sailors Missing Rank or Email. Looks like report cannot load at all. Maybe due to Command Name change.

@mkolodner discovered this playing around on the call.

Weird--I'm looking at that report in package and it doesn't seem to have the Command Name field on it. So does that mean it's the actual report type that's the problem?
Wait--I think I see the problem. The Sailor__c object does not appear to have Allow Reports checked. Not sure how or when that would have happened, but it's a problem.

As soon as I checked that box on the object the report loads just fine.

Strangely, on the Sailor__c object xml it says true. And doing retrieve_changes didn't make a change to that.

@mkolodner had some downtime at work this week and decided to tackle this one. You're spot on, the allow reports checkbox was unchecked somehow. Checking it, it worked.

One thing to double check, would we also want to allow activities? That was unchecked too.

Can't see how Allow Activities would hurt.

I'll do both. Have a pull request ready for you two validate this fixed the error.

Just spun up an Enterprise scratch org (I always prefer to use something more representative than developer edition) from the pull request and I'm getting the same problem. And I see that on Sailor__c the boxes are not checked. Did I do something wrong? Here's what I did:

  1. Opened the pull request in GitHub desktop.
  2. View in VSCode
  3. cci flow run dev_org --org enterprise
  4. flow ran fine, then opened in browser.

@mkolodner interesting. I noticed the master source code shows as reports/activities enabled. Going to try to pull one more time in hopes I can try to fix this before posting to HUB.

Posted to HUB as I can't reset. Maybe a different setting is needed to allow.