A bug in 16.11.04

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

A bug in 16.11.04

Schumann
Dear Gurus,

I'd like to report a bug (found in my 16.11.04 but previously not in 16.11.03).
If we go to party profile and try to add new security group from any userlogin (For my case, any except admin) in a locale of zh (or other, I assume) instead of en, after clicking "Add", the system will prompt an error something like "Could not find resource bundle [ServiceUiLabels] in the locale zh_CN.".

I checked it in my version 16.11.03 and found no this issue.
The issue could be solved then by adding corresponding locale.

HIH.

Best Regards

Schumann

Reply | Threaded
Open this post in threaded view
|

Re: A bug in 16.11.04

Deepak Dixit-3
Hi Schumann,

Could you please create jira ticket for the reported issue?

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Wed, Mar 28, 2018 at 6:37 AM, Schumann Ye <[hidden email]>
wrote:

> Dear Gurus,
>
> I'd like to report a bug (found in my 16.11.04 but previously not in
> 16.11.03).
> If we go to party profile and try to add new security group from any
> userlogin (For my case, any except admin) in a locale of zh (or other, I
> assume) instead of en, after clicking "Add", the system will prompt an
> error something like "Could not find resource bundle [ServiceUiLabels] in
> the locale zh_CN.".
>
> I checked it in my version 16.11.03 and found no this issue.
> The issue could be solved then by adding corresponding locale.
>
> HIH.
>
> Best Regards
>
> Schumann
>
>
Reply | Threaded
Open this post in threaded view
|

Re: A bug in 16.11.04

Paul Foxworthy
Hi all,

Is the fix to add translations to zh_CN for the four messages here:
https://github.com/apache/ofbiz-framework/blob/trunk/framework/service/config/ServiceUiLabels.xml
?

Thanks

Paul Foxworthy

On 28 March 2018 at 16:03, Deepak Dixit <[hidden email]>
wrote:

> Hi Schumann,
>
> Could you please create jira ticket for the reported issue?
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Mar 28, 2018 at 6:37 AM, Schumann Ye <[hidden email]>
> wrote:
>
> > Dear Gurus,
> >
> > I'd like to report a bug (found in my 16.11.04 but previously not in
> > 16.11.03).
> > If we go to party profile and try to add new security group from any
> > userlogin (For my case, any except admin) in a locale of zh (or other, I
> > assume) instead of en, after clicking "Add", the system will prompt an
> > error something like "Could not find resource bundle [ServiceUiLabels] in
> > the locale zh_CN.".
> >
> > I checked it in my version 16.11.03 and found no this issue.
> > The issue could be solved then by adding corresponding locale.
> >
> > HIH.
> >
> > Best Regards
> >
> > Schumann
> >
> >
>



--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: [hidden email]
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

答复: A bug in 16.11.04

Schumann
Dear Deepak and Paul,

Sorry that I was totally tied up with some management issues in the past days and was late to reply to you.
@Deepak, as tested, the issue could be solved by adding the needed locale in the file framework/service/config/ServiceUiLabels.xml.
Do you still think it is necessary to create a jira note? Thanks
So, @Paul, yes to your question.

B.R.
Schumann

-----邮件原件-----
发件人: Paul Foxworthy <[hidden email]>
发送时间: 2018年3月30日 13:26
收件人: [hidden email]
主题: Re: A bug in 16.11.04

Hi all,

Is the fix to add translations to zh_CN for the four messages here:
https://github.com/apache/ofbiz-framework/blob/trunk/framework/service/config/ServiceUiLabels.xml
?

Thanks

Paul Foxworthy

On 28 March 2018 at 16:03, Deepak Dixit <[hidden email]>
wrote:

> Hi Schumann,
>
> Could you please create jira ticket for the reported issue?
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Mar 28, 2018 at 6:37 AM, Schumann Ye
> <[hidden email]>
> wrote:
>
> > Dear Gurus,
> >
> > I'd like to report a bug (found in my 16.11.04 but previously not in
> > 16.11.03).
> > If we go to party profile and try to add new security group from any
> > userlogin (For my case, any except admin) in a locale of zh (or
> > other, I
> > assume) instead of en, after clicking "Add", the system will prompt
> > an error something like "Could not find resource bundle
> > [ServiceUiLabels] in the locale zh_CN.".
> >
> > I checked it in my version 16.11.03 and found no this issue.
> > The issue could be solved then by adding corresponding locale.
> >
> > HIH.
> >
> > Best Regards
> >
> > Schumann
> >
> >
>



--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: A bug in 16.11.04

Scott Gray-3
My knowledge is a little bit out of date but the code used to be able to
fallback through to the default locale and if it still didn't find anything
then it would simply output the key instead.

For example if the user's locale was zh_cn and the default locale was en_US
then it would look for a value against each of the following locales:
zh_cn
zh
en_us
en
If it didn't find anything against any of those locales then it would
output the property key.

Adding the missing translation would fix your issue but a ticket would be
useful to fix the missing translation handling which seems buggy to me
based on this report.

Regards
Scott

On Sun, 1 Apr 2018, 02:31 Schumann Ye, <[hidden email]> wrote:

> Dear Deepak and Paul,
>
> Sorry that I was totally tied up with some management issues in the past
> days and was late to reply to you.
> @Deepak, as tested, the issue could be solved by adding the needed locale
> in the file framework/service/config/ServiceUiLabels.xml.
> Do you still think it is necessary to create a jira note? Thanks
> So, @Paul, yes to your question.
>
> B.R.
> Schumann
>
> -----邮件原件-----
> 发件人: Paul Foxworthy <[hidden email]>
> 发送时间: 2018年3月30日 13:26
> 收件人: [hidden email]
> 主题: Re: A bug in 16.11.04
>
> Hi all,
>
> Is the fix to add translations to zh_CN for the four messages here:
>
> https://github.com/apache/ofbiz-framework/blob/trunk/framework/service/config/ServiceUiLabels.xml
> ?
>
> Thanks
>
> Paul Foxworthy
>
> On 28 March 2018 at 16:03, Deepak Dixit <[hidden email]>
> wrote:
>
> > Hi Schumann,
> >
> > Could you please create jira ticket for the reported issue?
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> > www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Wed, Mar 28, 2018 at 6:37 AM, Schumann Ye
> > <[hidden email]>
> > wrote:
> >
> > > Dear Gurus,
> > >
> > > I'd like to report a bug (found in my 16.11.04 but previously not in
> > > 16.11.03).
> > > If we go to party profile and try to add new security group from any
> > > userlogin (For my case, any except admin) in a locale of zh (or
> > > other, I
> > > assume) instead of en, after clicking "Add", the system will prompt
> > > an error something like "Could not find resource bundle
> > > [ServiceUiLabels] in the locale zh_CN.".
> > >
> > > I checked it in my version 16.11.03 and found no this issue.
> > > The issue could be solved then by adding corresponding locale.
> > >
> > > HIH.
> > >
> > > Best Regards
> > >
> > > Schumann
> > >
> > >
> >
>
>
>
> --
> Coherent Software Australia Pty Ltd
> PO Box 2773
> Cheltenham Vic 3192
> Australia
>
> Phone: +61 3 9585 6788
> Web: http://www.coherentsoftware.com.au/
> Email: [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

答复: A bug in 16.11.04

Schumann
Dear Scott,



I agree with you because there is no need to add the locale translation in the release 16.11.03 and it works perfectly.

However, I could not figure out why and the temporary solution works for me.



Thanks

B.R.

Schumann



发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用



________________________________
From: Scott Gray <[hidden email]>
Sent: Monday, April 2, 2018 6:08:53 AM
To: [hidden email]
Subject: Re: A bug in 16.11.04

My knowledge is a little bit out of date but the code used to be able to
fallback through to the default locale and if it still didn't find anything
then it would simply output the key instead.

For example if the user's locale was zh_cn and the default locale was en_US
then it would look for a value against each of the following locales:
zh_cn
zh
en_us
en
If it didn't find anything against any of those locales then it would
output the property key.

Adding the missing translation would fix your issue but a ticket would be
useful to fix the missing translation handling which seems buggy to me
based on this report.

Regards
Scott

On Sun, 1 Apr 2018, 02:31 Schumann Ye, <[hidden email]> wrote:

> Dear Deepak and Paul,
>
> Sorry that I was totally tied up with some management issues in the past
> days and was late to reply to you.
> @Deepak, as tested, the issue could be solved by adding the needed locale
> in the file framework/service/config/ServiceUiLabels.xml.
> Do you still think it is necessary to create a jira note? Thanks
> So, @Paul, yes to your question.
>
> B.R.
> Schumann
>
> -----邮件原件-----
> 发件人: Paul Foxworthy <[hidden email]>
> 发送时间: 2018年3月30日 13:26
> 收件人: [hidden email]
> 主题: Re: A bug in 16.11.04
>
> Hi all,
>
> Is the fix to add translations to zh_CN for the four messages here:
>
> https://github.com/apache/ofbiz-framework/blob/trunk/framework/service/config/ServiceUiLabels.xml
> ?
>
> Thanks
>
> Paul Foxworthy
>
> On 28 March 2018 at 16:03, Deepak Dixit <[hidden email]>
> wrote:
>
> > Hi Schumann,
> >
> > Could you please create jira ticket for the reported issue?
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> > www.hotwaxsystems.com<http://www.hotwaxsystems.com>
> > www.hotwax.co<http://www.hotwax.co>
> >
> > On Wed, Mar 28, 2018 at 6:37 AM, Schumann Ye
> > <[hidden email]>
> > wrote:
> >
> > > Dear Gurus,
> > >
> > > I'd like to report a bug (found in my 16.11.04 but previously not in
> > > 16.11.03).
> > > If we go to party profile and try to add new security group from any
> > > userlogin (For my case, any except admin) in a locale of zh (or
> > > other, I
> > > assume) instead of en, after clicking "Add", the system will prompt
> > > an error something like "Could not find resource bundle
> > > [ServiceUiLabels] in the locale zh_CN.".
> > >
> > > I checked it in my version 16.11.03 and found no this issue.
> > > The issue could be solved then by adding corresponding locale.
> > >
> > > HIH.
> > >
> > > Best Regards
> > >
> > > Schumann
> > >
> > >
> >
>
>
>
> --
> Coherent Software Australia Pty Ltd
> PO Box 2773
> Cheltenham Vic 3192
> Australia
>
> Phone: +61 3 9585 6788
> Web: http://www.coherentsoftware.com.au/
> Email: [hidden email]
>