Details
Description
Go to "New Case"
Select "create new contact" -> New Individual
Close the profile pop-up by hitting the "x"
Now click Cancel
You get a fatal error: Could not find valid value for gid
The URL that cancel directs to is : http://localhost/dgg/drupal69/civicrm/profile?reset=1 (which is why we get the error)
I tried this with New Contribution - and the Cancel button works properly in that form w/ this sequence. So I'm assuming that some userContext needs to be set for the new case form or ?? in order to prevent the mis-behavior.