Zend Framework

Error in creating a view

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.8.4
  • Component/s: Zend_Tool
  • Labels:
    None

Description

I am able to create projects and controllers. but I am not able to create a view. see details below.

-bash-3.00$ zf.sh create view
Please provide a value for $controllerName
zf> order
Please provide a value for $actionNameOrSimpleName
zf> vieworder

Catchable fatal error: Argument 1 passed to Zend_Tool_Project_Provider_View::createResource() must be an instance of Zend_Tool_Project_Profile, boolean given, called in /opt/apache2/htdocs
/apps/ZendFramework/library/Zend/Tool/Project/Provider/View.php on line 103 and defined in /opt/apache2/htdocs/apps/ZendFramework/library/Zend/Tool/Project/Provider/View.php on line 46

Issue Links

Activity

Hide
Satoru Yoshida added a comment -

Do you know which of the parameter order is correct?
The PHPDoc of createResource() or defined arguments of the method?

Show
Satoru Yoshida added a comment - Do you know which of the parameter order is correct? The PHPDoc of createResource() or defined arguments of the method?
Hide
Satoru Yoshida added a comment -

Solved as same as ZF-7035

Show
Satoru Yoshida added a comment - Solved as same as ZF-7035

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: