Atlas-Assistance-Dogs / atlas-dogs

Repository for Atlas Dogs flows in Salesforce
1 stars 1 forks source link

Duplicate categories in File upload #513

Closed deb761 closed 4 months ago

deb761 commented 4 months ago

Opening to track what may be code changes or may be post package deploy configuration. Testing in Beta11. 1- what has to happen to make the standalone position details section show? 2- now that i've added standalone manually as a position, when i go to look at the file upload options, I see some of the categories appear twice. and i am not seeing all of the positions as category. for example, here are the positions for this user: https://atlasassistancedogs--beta11.sandbox.lightning.force.com/lightning/r/Contact/003E200000GSZTDIA5/view

image

But here is what i see for file upload. image

I tried a case where the only position was Standalone and "standalone" appears 2x.. and actually, now ANY file upload I go to , regardless of position options seems to just give me these two category types. I am not sure if there is some inconsistent permission that is confusing the code. That is my hunch.. but not sure what else to change.

I added the category rule for standalone, in case that was the issue, and now then i go to the file upload i see 3 listings for standalone image

I deleted the other positions, and now i see 3 standalone options. Now if i add back in positions, i get duplicates of the categories, but I am still missing some. for example, i am missing team facilitator and client. I wasn't seeing any of these kinds of weird inconsistencies before I added "Standalone" as a picklist position. image

image

Originally posted by @atlasjen in https://github.com/Atlas-Assistance-Dogs/atlas-dogs/issues/485#issuecomment-1951629487

deb761 commented 4 months ago

I found the problem in beta11: the Category Rules had been duplicated. Removing the duplicate records solved the problem.