As ctools_export_load_object() does query database table we don't need to do it again manually in services_endpoint_load_all().

Also after we save entity we forgot to clear ctools objects cache.

See attached patch.

Comments

ygerasimov’s picture

StatusFileSize
new1.58 KB

Add clear ctools cache to delete function.

marcingy’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

marcingy’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed thanks does this need backporting?

marcingy’s picture

Status: Patch (to be ported) » Needs work
marcingy’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.