Atlas-Assistance-Dogs / atlas-dogs

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

Remove default values for category and type in lwc #479

Closed deb761 closed 1 year ago

deb761 commented 1 year ago

Add CategoryRule data to beta dataset

Critical Changes

Fixed null reference exception when uploading files using the component with no document category and type defined.

Changes

Issues Closed

477

atlasjen commented 1 year ago

I tried going from Theodore Hale's contact record and chose to upload w/o category or type specified and get this error image

atlasjen commented 1 year ago

Good news is i no longer get an error when i pick Staff/Contractor as type and am able to upload those, so must be related in some way to the same fix.

deb761 commented 1 year ago

I deployed a fresh scratch org, and added a file with no category or type to Theodore Hale without getting that error. I'm not sure how you got it.

atlasjen commented 1 year ago

i had the wrong branch checked out. works for me.