comanage-dev - [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST
Subject: COmanage Developers List
List archive
[comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST
Chronological Thread
- From: Scott Koranda <>
- To: Marie Huynh <>
- Cc: comanage-dev <>
- Subject: [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST
- Date: Tue, 28 Feb 2012 21:39:10 -0600
- Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.50.156.225 as permitted sender) ; dkim=pass
Hi,
> Is anyone else getting this error(below)?
No.
What happens if you re-initialize your database tables and
setup, i.e.
drop database registry
create database registy
./Console/cake Database
./Console/cake Setup
> �I'm getting this when I GET a
> view(all) for demographics, cos, etc.
> 2012-02-28 18:46:05 Error: [MissingTableException] Database table
> cm_users
> for model User was not found.
> #0 /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Model/Model.php(3258):
> Model->setSource('users')
> #1 /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Model/Model.php(2483):
> Model->getDataSource()
> #2
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Component/Auth/BaseAuthenticate.php(84):
> Model->find('first', Array)
> #3
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php(111):
> BaseAuthenticate->_findUser('test', 'asdf')
> #4
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php(87):
> BasicAuthenticate->getUser(Object(CakeRequest))
> #5
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Component/AuthComponent.php(640):
> BasicAuthenticate->authenticate(Object(CakeRequest),
> Object(CakeResponse))
> #6
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Component/AuthComponent.php(514):
> AuthComponent->identify(Object(CakeRequest), Object(CakeResponse))
> #7
>
> /Applications/MAMP/htdocs/gears/trunk/app/Controller/AppController.php(135):
> AuthComponent->login()
> #8
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Controller/Controller.php(605):
> AppController->beforeFilter()
> #9
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Routing/Dispatcher.php(101):
> Controller->startupProcess()
> #10
>
> /Applications/MAMP/htdocs/gears/trunk/lib/Cake/Routing/Dispatcher.php(86):
> Dispatcher->_invoke(Object(CoNsfDemographicsController),
> Object(CakeRequest), Object(CakeResponse))
> #11 /Applications/MAMP/htdocs/gears/trunk/app/webroot/index.php(96):
> Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
> #12 {main}
> On Tue, Feb 28, 2012 at 6:19 PM, Marie Huynh
> <[1]>
> wrote:
>
> Scott, you mentioned having some REST issues. �What were they?
> Marie
>
> On Tue, Feb 28, 2012 at 2:03 PM, Marie Huynh
> <[2]>
> wrote:
>
> On to the list in case it's useful for anyone else.
>
> On Tue, Feb 28, 2012 at 1:40 PM, Benn Oshrin
> <[3]>
> wrote:
>
> On the road at the moment. I changed how the REST api handles
> validation of fields related to a model. Basically, if they aren't
> defined in $model->validate, the api doesn't know they exist. You
> should be able to generate this error pretty easily by doing a REST
> add or edit to this controller.
>
> Marie Huynh
> <[4]>
> wrote:
>
> Hey Benn,
> Can you clarify this for me and paste in the errors you got?
> Thanks,
> Marie
>
> ---------- Forwarded message ----------
> From: Benn Oshrin (JIRA)
> <[5]>
> Date: Tue, Feb 7, 2012 at 11:32 AM
> Subject: [JIRA] (CO-234) CoNsfDemographics needs validate for
> REST
> To:
> [6]
>
> Benn Oshrin created CO-234:
> ------------------------------
>
> � � � � � � Summary: CoNsfDemographics needs validate for REST
> � � � � � � � � Key: CO-234
> � � � � � � � � URL:
> [7]https://bugs.internet2.edu/jira/browse/CO-234
> � � � � � � Project: COmanage
> � � � � �Issue Type: Bug
> � � � � �Components: Registry
> � �Affects Versions: COmanage Registry 0.4 (Reshaped Cake)
> � � � � � �Reporter: Benn Oshrin
> � � � � � �Assignee: Marie Huynh
> � � � � � � Fix For: COmanage Registry 0.4 (Reshaped Cake)
>
> CoNsfDemographics model needs $validate to be populated with all
> attributes or REST calls will fail with "Unknown Attribute".
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
>
> [8]https://bugs.internet2.edu/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see:
> [9]http://www.atlassian.com/software/jira
>
> References
>
> Visible links
> 1.
> mailto:
> 2.
> mailto:
> 3.
> mailto:
> 4.
> mailto:
> 5.
> mailto:
> 6.
> mailto:
> 7. https://bugs.internet2.edu/jira/browse/CO-234
> 8.
> https://bugs.internet2.edu/jira/secure/ContactAdministrators!default.jspa
> 9. http://www.atlassian.com/software/jira
- [comanage-dev] Fwd: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Marie Huynh, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Marie Huynh, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Marie Huynh, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Scott Koranda, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Scott Koranda, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Marie Huynh, 02/28/2012
- [comanage-dev] Re: Fwd: [JIRA] (CO-234) CoNsfDemographics needs validate for REST, Marie Huynh, 02/28/2012
Archive powered by MHonArc 2.6.16.