Re: Partials and prototype boolean
Re: Partials and prototype boolean
- Subject: Re: Partials and prototype boolean
- From: ISHIMOTO Ken <email@hidden>
- Date: Wed, 28 Nov 2012 06:28:45 +0100
Hi David,
My experience with this Problem was,
intBoolean, and any kind of varchar worked fine, but after I am switch one Attribute to
boolean it create in Date Insert (Not Migration directly) , an Error.
Got in MySQL an SQL Error, and in FrontBase a NPE Error.
I hadn't time to investigate a lot, but switching that prototype On/Off worked and don't worked for me.
Ken
On 2012/11/28, at 0:18, email@hidden wrote:
> Hi Paul,
>
> I've just confirmed that adding an attribute with the boolean prototype is not an issue in the ERXPartialsExampleApp.
>
> Back to the drawing board.
>
> Thanks guys,
>
> David
>
>
> On 2012-11-27, at 2:59 PM, Paul Yu <email@hidden> wrote:
>
>> I believe you have to use intBoolean for partial. Ken Ishimoto may be able to explain further when the sun rising in Austria.
>>
>> Paul
>> On Nov 27, 2012, at 5:49 PM, David Aspinall <email@hidden> wrote:
>>
>>> Can you document the problem you are having with the migration? From what you have said so far the only thing you have changed is to make the column a varchar(10) instead of varchar(5). Also what do you perceive to be the migration difference between a root entity vs a partial? Can you post your migration classes?
>>>
>>>
>>>
>>> On 2012-11-27, at 5:39 PM, email@hidden wrote:
>>>
>>>>> That's as far as I've gotten looking at this, but if this is the issue then it has nothing to do with ERXPartials, the prototype produced the same code for the main model.
>>>>
>>>> It's definitely a problem with Partials. As Paul says changing the prototype to varchar10 or intBoolean seems to allow the migration to happen.
>>>>
>>>
>>>
>>>
>>> --
>>> David Aspinall
>>> Senior IT Consultant
>>> Global Village Consulting Inc.
>>> E: email@hidden
>>> P: 1-647-927-7442
>>>
>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
>>>
>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden