Skip to content

No value fetched for added fields. #2

@tim-bezhashvyly

Description

@tim-bezhashvyly

Hello Bastian.

I'm using Magento 1.6.2.0 with your extension and the issue is that no values fetched for a new columns even with default grid control.xml (products management page). The problem is that "core_collection_abstract_load_before" event always fires after "adminhtml_block_html_before" so "hackathon_gridcontrol_current_block" registry is not yet initialized when "core_collection_abstract_load_before" even is fired. To fix it I replaced "core_collection_abstract_load_before" with "eav_collection_abstract_load_before" which solved the issue.

Then I had to uncomment the code in Observer.php (lines 47-49) that adds attribute to select of the query and this finally solved the problem.

Can you please shred a light on this issue? Why this code was commented out?

Thanks in advance,
Tim.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions