Errors at reports > product > most viewed #23

rbrussaard opened this Issue Jun 7, 2012 · 2 comments


2 participants

Fatal error: Call to undefined method Mage_Reports_Model_Resource_Product_Viewed_Collection::setPeriod() in /Applications/MAMP/htdocs/magento2/app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php on line 213

Fatal error: Undefined class constant 'NS_SEPARATOR' in /Applications/MAMP/htdocs/magento2/lib/Magento/Autoload.php on line 129


magento-team commented Jun 14, 2012

Hi rbrussaard,

  1. We have confirmed issue with report on most viewed products, and reported it in internal bug tracking system. We intend to fix it in the nearest 2-4 weeks. However, we can postpone it, because Magento 2 still in alpha development stage, and this bug doesn't interfere with scope of our current work.
  2. We were not able to reproduce the error with 'NS_SEPARATOR'. And unit test on that class executes successfully. It seems, that there can be something with your local copy of the class. Try to compare it with original class, published there.

Thank you for the report.

Closing the ticket.


magento-team commented Jun 28, 2012

UPD: we have fixed the bug. The fix will be included into one of upcoming next code updates.

magento-team added a commit that referenced this issue Jul 3, 2012

Update as of 7/3/2012
* Refactored backend (admin) menu generation:
  * Menu is separated from `adminhtml.xml` files into `menu.xml` files
  * Rendering menu became responsibility of `Mage_Backend` instead of `Mage_Adminhtml` module
  * Implemented XML-Schema for `menu.xml`
  * Actions with menu items defined in schema: add, remove, move, update, change parent and position
* Refactored customers import feature. New ability to provide import data in 3 files: master file (key customer information) + address file (customer id + address info) + financial file (customer id + reward points & store credit)
* Optimized memory consumption in integration tests:
  * Found and eliminated memory leaks in `Mage_Core_Model_App_Area`, `Mage_Core_Model_Layout`
  * Manually unset objects from PHPUnit test case object in `tearDown()` in integration tests. Garbage collector didn't purge them because of these references
  * Disabled running `integrity` test suite by default in integration tests
* Improvements in visual design editor JavaScript:
  * eliminated dependency of code on HTML-literals, reduced code coupling between templates and JavaScript files
  * implemented blocking unwanted JavaScript activity in visual design editor mode
* Various fixes in UX, code stability, modularity
* GitHub requests:
  * [#23](#23) -- added `Mage_Customer_Block_Account_Navigation::removeLink()`

magento-team pushed a commit that referenced this issue Jan 9, 2015

Merge pull request #23 from magento-firedrakes/0.42.0-beta3
MAGETWO-31052: M2 GitHub Update (version 0.42.0-beta3)

This was referenced Jan 16, 2015

This was referenced Sep 28, 2016

@magento-engcom-team magento-engcom-team moved this from TODO to Done in branch [2.3-develop] Sep 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment