Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Uses inexistent getter and setter callbacks #37

Closed
indigoxela opened this issue Nov 29, 2024 · 1 comment · Fixed by #38
Closed

Uses inexistent getter and setter callbacks #37

indigoxela opened this issue Nov 29, 2024 · 1 comment · Fixed by #38

Comments

@indigoxela
Copy link
Member

indigoxela commented Nov 29, 2024

For example here:

https://github.com/backdrop-contrib/profile/blob/1.x-1.x/profile.info.inc#L26

But actually in the whole file, it seems.

Function entity_property_getter_method() was part of the D7 entity module, but isn't part of anything in B - neither core nor entity_plus.

For this specific getter callback, there's an equivalent in entity_plus named entity_plus_property_getter_method with the same params.

Other candidates:

  • entity_plus_property_verbatim_set (instead of entity_property_verbatim_set)

There may be more to fix, but this (missing) function is a problem in one of my migration projects, which prevents indexing with search_api.

@indigoxela
Copy link
Member Author

@bugfolder here's a PR: #38

With that change, search_api indexing works for me.

bugfolder added a commit that referenced this issue Dec 2, 2024
Issue #37: Update callback functions to entity_plus names
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant