Skip to content
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

Logic hooks not working on new records #20

Open
cumanacr opened this issue May 3, 2021 · 0 comments
Open

Logic hooks not working on new records #20

cumanacr opened this issue May 3, 2021 · 0 comments

Comments

@cumanacr
Copy link
Contributor

cumanacr commented May 3, 2021

Issue

Logic hooks checking new records using:

if (!isset(self::$fetchedRow[$bean->id])) {

Are no longer working, it seems something changed on base SuiteCRM

Expected Behavior

Logic hook not firing on new records, it seems that is working properly on existing records somehow

Actual Behavior

Only existing records code is firing on the logic hooks

Possible Fix

Change isset for empty check

Steps to Reproduce

Context

SuiteCRM 7.11.15 and onwards

Your Environment

  • SuiteCRM Version used:
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)):
  • Environment name and version (e.g. MySQL, PHP 7):
  • Operating System and version (e.g Ubuntu 16.04):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant