Jump to content


Photo

Groups error - Opportunities


  • Please log in to reply
5 replies to this topic

#1 ericlc

ericlc

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationBrazil

Posted 14 March 2013 - 11:05 PM

Hello Guys,

 

We have been facing an error when we try to create some groups and after that we try to list the opportunities.

 

Create 2 groups:

 

We have a total of 6 users

 

5 of them are assigned to group A

and 6 of them are assigned to group B

 

that means we would like to restrict some opportunities of 1 user.

 

When I access Zurmo with this restricted user and try to list opportunities I got an error:

 

I ran the unit tests (i'm not sure i'm doing everything all right)

 

I got this result.

 

Any idea? I appreciate

 

 Time: 17:39, Memory: 127.50Mb

 
There were 4 failures:
 
1) OpportunitiesRegularUserExportWalkthroughTest::testDownloadDefaultControllerActions
PHP Warning:  include(PHPUnit_Extensions_Database_TestCase.php): failed to open stream: No such file or directory in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
PHP Warning:  include(): Failed opening 'PHPUnit_Extensions_Database_TestCase.php' for inclusion (include_path='/var/www/html/zurmo/yii/framework/vendors/htmlpurifier/standalone:.:/var/www/html/zurmo/app/protected/modules/contacts/data:/var/www/html/zurmo/app/protected/modules/opportunities/data:/var/www/html/zurmo/app/protected/core/data:/var/www/html/zurmo/app/protected/tests/unit/notSupposedToBeHere:/var/www/html/zurmo/app/protected/tests/unit:/var/www/html/zurmo/app/protected/modules/api/tests/unit/forms:/var/www/html/zurmo/app/protected/modules/api/tests/unit/models:/usr/share/pear:/usr/share/php') in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
PHP Warning:  include(PHPUnit_Extensions_SeleniumTestCase.php): failed to open stream: No such file or directory in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
PHP Warning:  include(): Failed opening 'PHPUnit_Extensions_SeleniumTestCase.php' for inclusion (include_path='/var/www/html/zurmo/yii/framework/vendors/htmlpurifier/standalone:.:/var/www/html/zurmo/app/protected/modules/contacts/data:/var/www/html/zurmo/app/protected/modules/opportunities/data:/var/www/html/zurmo/app/protected/core/data:/var/www/html/zurmo/app/protected/tests/unit/notSupposedToBeHere:/var/www/html/zurmo/app/protected/tests/unit:/var/www/html/zurmo/app/protected/modules/api/tests/unit/forms:/var/www/html/zurmo/app/protected/modules/api/tests/unit/models:/usr/share/pear:/usr/share/php') in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
PHP Warning:  include(PHPUnit_Extensions_Story_TestCase.php): failed to open stream: No such file or directory in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
PHP Warning:  include(): Failed opening 'PHPUnit_Extensions_Story_TestCase.php' for inclusion (include_path='/var/www/html/zurmo/yii/framework/vendors/htmlpurifier/standalone:.:/var/www/html/zurmo/app/protected/modules/contacts/data:/var/www/html/zurmo/app/protected/modules/opportunities/data:/var/www/html/zurmo/app/protected/core/data:/var/www/html/zurmo/app/protected/tests/unit/notSupposedToBeHere:/var/www/html/zurmo/app/protected/tests/unit:/var/www/html/zurmo/app/protected/modules/api/tests/unit/forms:/var/www/html/zurmo/app/protected/modules/api/tests/unit/models:/usr/share/pear:/usr/share/php') in /var/www/html/zurmo/yii/framework/YiiBase.php on line 421
 
/var/www/html/zurmo/app/protected/modules/zurmo/tests/unit/ZurmoBaseTest.php:76
/var/www/html/zurmo/app/protected/modules/zurmo/tests/unit/ZurmoWalkthroughBaseTest.php:94
/var/www/html/zurmo/app/protected/modules/opportunities/tests/unit/walkthrough/OpportunitiesRegularUserExportWalkthroughTest.php:84
 
2) OpportunitiesRegularUserWalkthroughTest::testRegularUserControllerActionsWithElevationToAccessAndCreate
 
/var/www/html/zurmo/app/protected/modules/zurmo/tests/unit/ZurmoBaseTest.php:76
/var/www/html/zurmo/app/protected/modules/zurmo/tests/unit/ZurmoWalkthroughBaseTest.php:94
/var/www/html/zurmo/app/protected/modules/opportunities/tests/unit/walkthrough/OpportunitiesRegularUserWalkthroughTest.php:130
 
3) OpportunitiesRegularUserWalkthroughTest::testRegularMassDeleteActionsForSelectedIds
Failed asserting that 5 matches expected 9.
 
/var/www/html/zurmo/app/protected/modules/opportunities/tests/unit/walkthrough/OpportunitiesRegularUserWalkthroughTest.php:449
 
4) OpportunitiesRegularUserWalkthroughTest::testRegularMassDeletePagesProperlyAndRemovesAllSelected
Failed asserting that 5 matches expected 9.
 
/var/www/html/zurmo/app/protected/modules/opportunities/tests/unit/walkthrough/OpportunitiesRegularUserWalkthroughTest.php:505
 
FAILURES!
Tests: 50, Assertions: 2588, Failures: 4, Skipped: 2.
[root@server1 unit]# 


#2 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,965 posts

Posted 15 March 2013 - 02:03 PM

Let us look into this


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro


#3 ericlc

ericlc

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationBrazil

Posted 15 March 2013 - 05:50 PM

thanks Ray!



#4 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,965 posts

Posted 21 March 2013 - 02:32 PM

We have Developer Sessions every Tuesday at 10:00AM Chicago Time (http://zurmo.org/for....php?/calendar/). Can you attend our session next week so that we can go over this issue?


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro


#5 ericlc

ericlc

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationBrazil

Posted 23 March 2013 - 07:21 PM

Hi Ray,

 

I can't join this week, but could be the next one on April 2nd ?

 

THanks!



#6 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,965 posts

Posted 23 March 2013 - 11:23 PM

Sure, you can join the session on April 2. That is great.


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users