-
Notifications
You must be signed in to change notification settings - Fork 19
Fix saving custom data & add test #167
base: master
Are you sure you want to change the base?
Conversation
/test |
1 similar comment
/test |
@monishdeb any idea about these 2 test failures? |
hmm checking |
/test |
|
@monishdeb I've done a rebase to keep the branch up-to-date. Any luck with the test failures? |
/test |
@colemanw in apiv3/ core the callApiSuccess wrapper (mostly) makes sure the sql is out put in fails like this one which is really helpful @monishdeb how are you placed on this - I am under the impression this is blocked on your availablity and in turn is the blocker for api v4 in core for 5.16 (also ping @seamuslee001 ) |
@eileenmcnaughton I'm going to try to move this along, but there are 2 biggies in api4 which IMO should get addressed before inclusion in core:
|
@colemanw if we moved into core in time for 5.16 rc could we resolve those 2 during the rc period (without too much change outside the apiv4 part of the codebase)? |
Hey @monishdeb could you say more about your last commit? The message is "minor fix" but it's a big change and I'm not sure what it's doing. |
@colemanw yes the commit title was a bit misnomer. Actually, the last commit was about when we get custom table name |
Ok thanks @monishdeb. I'll look into it. |
Thanks :) |
/test |
1 similar comment
/test |
@monishdeb @colemanw in the interests of trying to move this along a bit I pulled out the stale commit into it's own PR so we can get it merged & sorted #167 |
@colemanw as I understand it this is still the blocker to getting apiv4 moved into core & it's in your court? |
$entity = CustomGroup::get() | ||
->addSelect('extends') | ||
->addWhere('table_name', '=', $tableName) | ||
->execute() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must disable permission check here.
Before
Custom field saving was broken for some entities.
After
Works for all entities; locked in by conformance test.
Notes
Depends on civicrm/civicrm-core#14535