Google Groups Home
Help | Sign in
actAs and loadTemplate together
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
pawel.gniadkow...@vaiolabs.com  
View profile
 More options May 6, 4:05 am
From: pawel.gniadkow...@vaiolabs.com
Date: Tue, 6 May 2008 01:05:36 -0700 (PDT)
Local: Tues, May 6 2008 4:05 am
Subject: actAs and loadTemplate together
I have big problem. I can't use (in both 0.10.4 and 0.11RC2) actAs and
loadTemplate together in one class. I've tried placing them in
setTableDefinition() and in setUp() (and combinations ;)).

class News extends Doctrine_Record
{
        public $url;

        public function setTableDefinition()
        {
                $this->hasColumn('title', 'string', 64);
                $this->hasColumn('intro', 'string', 128);
                $this->hasColumn('content', 'string', null);
        }

        public function setUp()
        {
                $this->actAs('Versionable');
                $this->actAs('Timestampable');
                $this->loadTemplate('hashTemplate');
        }

}

Thanks for Your time and help.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Wage  
View profile
 More options May 8, 12:36 pm
From: "Jonathan Wage" <jonw...@gmail.com>
Date: Thu, 8 May 2008 11:36:35 -0500
Local: Thurs, May 8 2008 12:36 pm
Subject: Re: [doctrine-dev] actAs and loadTemplate together

Please provide some more information. The error you are getting, a failing
test case, etc.

If it is indeed a bug please create a ticket.

Thanks, Jon

--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pawel.gniadkow...@vaiolabs.com  
View profile
 More options May 9, 5:45 am
From: pawel.gniadkow...@vaiolabs.com
Date: Fri, 9 May 2008 02:45:37 -0700 (PDT)
Local: Fri, May 9 2008 5:45 am
Subject: Re: actAs and loadTemplate together
No error - "Versionable" is ignored when using any loadTemplate in
same class.

On 8 Maj, 18:36, "Jonathan Wage" <jonw...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Wage  
View profile
 More options May 9, 5:42 pm
From: "Jonathan Wage" <jonw...@gmail.com>
Date: Fri, 9 May 2008 16:42:37 -0500
Local: Fri, May 9 2008 5:42 pm
Subject: Re: [doctrine-dev] Re: actAs and loadTemplate together

Can you create a ticket and a failing test case?

Thanks, Jon

--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pawel.gniadkow...@vaiolabs.com  
View profile
 More options Jun 1, 7:21 am
From: pawel.gniadkow...@vaiolabs.com
Date: Sun, 1 Jun 2008 04:21:11 -0700 (PDT)
Local: Sun, Jun 1 2008 7:21 am
Subject: Re: actAs and loadTemplate together
Created: http://trac.phpdoctrine.org/ticket/1098

Thanks for help.

On 9 Maj, 23:42, "Jonathan Wage" <jonw...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google