-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Afform - Fix loading entities from url args #20145
Conversation
This broke when we stopped using ngRoute. Now entities can be loaded with a url like civicrm/my/afform#!?Individual1=123
(Standard links)
|
@colemanw I tried this out locally but ran into a problem where by when it was trying to do the prefill with args of |
@seamuslee001 what the #!? does that error mean? |
You know what @eileenmcnaughton - your comment got me thinking and I decided the best thing is to remove that |
@colemanw that error seems to come from here
|
@seamuslee001 @colemanw - just trying to figure out the status here - is it blocked on #20152 ? I guess more directly it's blocked on the issue @seamuslee001 hit |
@seamuslee001 do you still think there is an error with this PR? I think it would be good to hit the rc before it forks as this is really a regression |
I tested this & was able to get this to work https://dmaster.localhost:32353/civicrm/monolog#!?Monolog1=1 There are still some issues in getting that form to fully work but this PR fixes this part & it is actually a regression so let's get it merged before forking I didn't experience the bug @seamuslee001 did - but we can merge a fix to that to the rc if that is a regression from this or a pre-existing regression |
Overview
Fixes https://lab.civicrm.org/dev/core/-/issues/2567
Loading existing entities via url args was not working.
Before
Url arguments ignored.
After
Now entities can be loaded with a url like
civicrm/my/afform#!?Individual1=123
Comments
This broke when we stopped using ngRoute.