Ticket #851 (closed Bug: fixed)
Installation redirect to undefined; all_tests.php failing
| Reported by: | vipsoft | Owned by: | vipsoft |
|---|---|---|---|
| Priority: | critical | Milestone: | Piwik 0.4.2 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: |
Description
Installation redirects to "undefined". Not sure if it's a regression from the Zend_Session patch, but saw this each time I chose to delete existing tables:
127.0.0.1 - - [05/Jul/2009:17:23:30 -0400] "GET /index.php?action=tablesCreation&module=Installation HTTP/1.1" 200 5955 "http://localhost/index.php?action=databaseSetup" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11 FirePHP/0.3" 127.0.0.1 - - [05/Jul/2009:17:23:35 -0400] "GET /undefined HTTP/1.1" 404 350 "http://localhost/index.php?action=tablesCreation&module=Installation" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11 FirePHP/0.3" 127.0.0.1 - - [05/Jul/2009:17:23:36 -0400] "GET /index.php?action=tablesCreation&module=Installation&deleteTables=1 HTTP/1.1" 200 4853 "http://localhost/index.php?action=tablesCreation&module=Installation" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11 FirePHP/0.3"
Unit Tests all_tests.php fails in tests/core/API/DocumentationGenerator.test.php, but succeeds when test is run by itself. Where is it getting website id 2?
Exception: ../tests/core/API/DocumentationGenerator.test.php -> Test_Piwik_API_DocumentationGenerator -> test_callableApiMethods_doNotFail -> Unexpected exception of type [Piwik_Access_NoAccessException] with message [You can't access this resource as it requires a 'view' access for the website id = 2.] in [/home/apang/work/piwik/trunk/core/Access.php line 340]
Change History
Note: See
TracTickets for help on using
tickets.
