Closed cartbar closed 5 years ago
Hi @cartbar, were you able to replicate this as an actual bug? it's potentially intentional, we'd need to trigger this code to check.
Hello.
No, as I am still trying to figure out how the code works, but looking at the source in context, it looks wrong.
Regards,
Carl
Hi there, this has been inside the core code base since forking from Sugar. Unless there is a bug identified then this is bad naming that isn't affecting functionality. I'm closing this bug report but anyone is more than welcome to de-tangle those references to accurately reflect the end result.
Issue
I have been looking through the code to try to figure out how to change what is displayed in a parent field for the autocomplete and I noticed what I think is a bug in /include/TemplateHandler/TemplateHandler.php. Currently it contains:
656 } else { 657 $sqs_objects[$name]['populate_list'] = $field['field_list']; 658 $sqs_objects[$name]['field_list'] = $field['populate_list']; 659 }
I think it should be:
656 } else { 657 $sqs_objects[$name]['populate_list'] = $field['populate_list']; 658 $sqs_objects[$name]['field_list'] = $field['field_list']; 659 }
Expected Behavior
Actual Behavior
Possible Fix
Steps to Reproduce
1. 2. 3. 4.
Context
Your Environment
Version 7.10.10 Sugar Version 6.5.25 (Build 344)