[jira] [Closed] (OFBIZ-8336) Can't find resource for bundle

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

[jira] [Closed] (OFBIZ-8336) Can't find resource for bundle

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-8336.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Release Branch 13.07
                   Release Branch 14.12
                   Release Branch 15.12
                   Upcoming Branch

Thanks Ingo for report and Rohit for research

Actually Rohit I decided to fix it another way. I was not satisfied by any of the solutions used so far and your proposition though fixing the visible issue in log would hide information.

I commited another solution in
trunk r1763085  
R15.12, 14.12, 13.07 r1763087

This has not been handled right from start and in several changes
later. Rather than throwing an exception in UtilProperties.getMessage() it's
better to check if the bundle contains the key and else to log info. Thus we can improve by possibly adding the missing field description.

Ironically we will not see much of them in the UI because something like proposed Pierre at OFBIZ-8110 as already been adopted, or was done before the fields descriptions labels solution have been implemented.



> Can't find resource for bundle
> ------------------------------
>
>                 Key: OFBIZ-8336
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8336
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch, Release Branch 15.12, Release Branch 14.12, Release Branch 13.07
>
>         Attachments: OFBIZ-8336.patch, error.txt
>
>
> Downloaded current trunk and loaded demo data.
> When going for example to EditProductContent (Product --> Content) the following error message appears:
> 2016-09-27 20:02:40,822 |http-nio-8444-exec-7 |UtilProperties                |I| null
> java.util.MissingResourceException: Can't find resource for bundle org.apache.ofbiz.base.util.UtilProperties$UtilResourceBundle, key FieldDescription.sequenceNum
> Attached the complete error message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)