SFDO-Community / OmbudsmanCloudCare

App for Navy ombudsmen to track, resolve, and report on cases.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Update Ombudsman Standard User.profile #136

Closed Nickers3 closed 3 years ago

Nickers3 commented 3 years ago

Critical Changes

Update FLS for task and case fields to be readable and editable for customer org profile.

Changes

Issues Closed

Nickers3 commented 3 years ago

@mkolodner can you check this one out? This should solve the FLS for the OCC profile.

mkolodner commented 3 years ago

@Nickers3 I feel like I must have done something wrong or am missing something. Ran dev_org flow. Logged in. Went to Setup>Profiles>Ombudsman Standard User and while the Time Spent field is visible, none of the Incoming/Outgoing touchpoint fields are.

Nickers3 commented 3 years ago

@mkolodner ah, looks like the new task fields did not get added. I'll work on those today.

Nickers3 commented 3 years ago

@mkolodner can you get a fetch and try the dev_org and customer_org flows? I have an oddity with SFDX at the moment so I can't run the flows fully to test.

mkolodner commented 3 years ago

@Nickers3 - dev_org worked just fine. FLS was right.

But I then deleted the scratch org and started fresh for customer_org and got this error: [Failed]: Update of InstalledPackage ombudcare: Error: (OCC_Case_Path) Cannot create more than 1 Path per sobjectType and recordType, Details: OCC_Case_Path: Cannot create more than 1 Path per sobjectType and recordType 2021-03-09 10:23:47: Exception in task customer_org_minimal.install_managed

Could not process MDAPI response: Update of InstalledPackage ombudcare: Error: (OCC_Case_Path) Cannot create more than 1 Path per sobjectType and recordType, Details: OCC_Case_Path: Cannot create more than 1 Path per sobjectType and recordType

Nickers3 commented 3 years ago

@mkolodner looks like a new error. This one looks to be related to the Path on Cases. Mind opening the org to see if there are any record types on cases? While it seems strange to see them there, one could have been added somehow.

mkolodner commented 3 years ago

No record types on Case

Nickers3 commented 3 years ago

Hum. OK. Will ty to debug further once I get my SFDX environment working again.

Nickers3 commented 3 years ago

@mkolodner we'll want to update the profiles with the new fields so more work on this one. This one is something needed to be done via CCI.

mkolodner commented 3 years ago

OK. Makes sense to me.

Nickers3 commented 3 years ago

Marking as closed. Including with Feature/Release-13-1