<fail-message>

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

<fail-message>

Jacques Le Roux
Administrator
Hi,

I think we should deprecate, and at term remove the <fail-message> tag. There are 500+ ot them in current code. They are not
localisable. So for me it's a bad practice, and we should prevent people to use this tag anymore.
 I can't see from the top of my head if there are some other aspects in OFBiz which encourage such bad practices (not localisable).

What do you think ?

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: <fail-message>

David E Jones

Are we feeling a little domineering today?

Just because internationalizing code is a best practice doesn't mean  
it's the ONLY practice, and I don't think we want to force it for any  
and all users of OFBiz (ie those writing their own applications, etc).

That's the thing with best practices: we want them and we want to  
recommend them and for the main code base even ask people to follow  
them. We also want primary and secondary/other best practices. Still,  
not being omniscient we don't want to think we know everything and not  
have any flexibility in the framework.

-David


On Jul 12, 2008, at 2:10 PM, Jacques Le Roux wrote:

> Hi,
>
> I think we should deprecate, and at term remove the <fail-message>  
> tag. There are 500+ ot them in current code. They are not  
> localisable. So for me it's a bad practice, and we should prevent  
> people to use this tag anymore.
> I can't see from the top of my head if there are some other aspects  
> in OFBiz which encourage such bad practices (not localisable).
>
> What do you think ?
>
> Jacques

Reply | Threaded
Open this post in threaded view
|

Re: <fail-message>

Jacques Le Roux
Administrator
From: "David E Jones" <[hidden email]>
>
> Are we feeling a little domineering today?

No actually I'm not domineering, simply exhausted. These 500+ changes certainly discouraged me, hence my reaction. I should keep
cool,  and I will...

> Just because internationalizing code is a best practice doesn't mean  it's the ONLY practice, and I don't think we want to force
> it for any  and all users of OFBiz (ie those writing their own applications, etc).
> That's the thing with best practices: we want them and we want to  recommend them and for the main code base even ask people to
> follow  them. We also want primary and secondary/other best practices. Still,  not being omniscient we don't want to think we know
> everything and not  have any flexibility in the framework.

Yes I was re-thinking about it, and it occured to me that of course we should keep it and simply discourage its usage in OFBiz stock
(yes, you contributors, commiters, ... :o)

Jacques

> -David
>
>
> On Jul 12, 2008, at 2:10 PM, Jacques Le Roux wrote:
>
>> Hi,
>>
>> I think we should deprecate, and at term remove the <fail-message>  tag. There are 500+ ot them in current code. They are not
>> localisable. So for me it's a bad practice, and we should prevent  people to use this tag anymore.
>> I can't see from the top of my head if there are some other aspects  in OFBiz which encourage such bad practices (not
>> localisable).
>>
>> What do you think ?
>>
>> Jacques
>

Reply | Threaded
Open this post in threaded view
|

Re: <fail-message>

Adrian Crum-2
--- On Sat, 7/12/08, Jacques Le Roux <[hidden email]> wrote:
> No actually I'm not domineering, simply exhausted.
> These 500+ changes certainly discouraged me, hence my
> reaction. I should keep
> cool,  and I will...

Jacques,

You don't have to do everything yourself. Create a Jira issue for it, submit an example of how it should be fixed, and then let others help.

-Adrian



     
Reply | Threaded
Open this post in threaded view
|

Re: <fail-message>

Jacques Le Roux
Administrator
From: "Adrian Crum" <[hidden email]>

> --- On Sat, 7/12/08, Jacques Le Roux <[hidden email]> wrote:
>> No actually I'm not domineering, simply exhausted.
>> These 500+ changes certainly discouraged me, hence my
>> reaction. I should keep
>> cool,  and I will...
>
> Jacques,
>
> You don't have to do everything yourself. Create a Jira issue for it, submit an example of how it should be fixed, and then let
> others help.

Yes, good idea. I have some free time so I want to clean some things up. But it's 4 days I can't get to set priorities. It's the 1st
time this occurs to me, weird...

Thanks Adrian

> -Adrian
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: <fail-message>

Jacques Le Roux-2
In reply to this post by Jacques Le Roux
Thanks to Marco's courageous effort, I can remove soon this from my todo list.

BTW, Marco I can help on the framework part, if you have nothing pending there yet...

Thanks!

Jacques

From: "Jacques Le Roux" <[hidden email]>

> From: "David E Jones" <[hidden email]>
>>
>> Are we feeling a little domineering today?
>
> No actually I'm not domineering, simply exhausted. These 500+ changes certainly discouraged me, hence my reaction. I should keep
> cool,  and I will...
>
>> Just because internationalizing code is a best practice doesn't mean  it's the ONLY practice, and I don't think we want to force
>> it for any  and all users of OFBiz (ie those writing their own applications, etc).
>> That's the thing with best practices: we want them and we want to  recommend them and for the main code base even ask people to
>> follow  them. We also want primary and secondary/other best practices. Still,  not being omniscient we don't want to think we
>> know
>> everything and not  have any flexibility in the framework.
>
> Yes I was re-thinking about it, and it occured to me that of course we should keep it and simply discourage its usage in OFBiz
> stock
> (yes, you contributors, commiters, ... :o)
>
> Jacques
>
>> -David
>>
>>
>> On Jul 12, 2008, at 2:10 PM, Jacques Le Roux wrote:
>>
>>> Hi,
>>>
>>> I think we should deprecate, and at term remove the <fail-message>  tag. There are 500+ ot them in current code. They are not
>>> localisable. So for me it's a bad practice, and we should prevent  people to use this tag anymore.
>>> I can't see from the top of my head if there are some other aspects  in OFBiz which encourage such bad practices (not
>>> localisable).
>>>
>>> What do you think ?
>>>
>>> Jacques
>>
>