Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317624

Summary: JAXB: LoggingLocalizationResource jaxb_ identifiers are missing MSGID AND TOP-50235 to 50240 qualifiers
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: blaise.doughan, eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 319866, 316513    
Attachments:
Description Flags
Core - Fix none

Description Michael OBrien CLA 2010-06-22 14:09:49 EDT
>Problem: the logging messages for JAXB added past TOP-50234 are formatted incorrectly
- the current block needs to be moved up to // MESSAGES end around line 382
- new entries for the 5 messages need to be of the form of TOP-50234 at line 644

LoggingLocalizationResource.java:643
        { "query_has_joined_attribute_outside_fetch_group.MSGID", "TOP-50234"},
        // JAXB Metadata Logging Messages
        { "jaxb_metadata_warning_ignoring_java_attribute", "Ignoring attribute [{0}] on class [{1}] as no Property was generated for it."},
        { "jaxb_metadata_warning_invalid_bound_type", "The bound type [{0}] for adapter class [{1}] is invalid, and will be ignored."},
        { "jaxb_metadata_warning_no_classes_to_process", "There are no classes to process for package [{0}]."},
        { "jaxb_metadata_warning_ignoring_type_on_map", "Ignoring the type attribute set on xml-element since xml-map is specified on property [{0}]."},
        { "jaxb_metadata_warning_invalid_java_attribute", "An unsupported JavaAttribute [{0}] was encountered an will be ignored."}

>until this is fixed - no new WARNING logs can be added
Comment 1 Michael OBrien CLA 2010-06-22 14:15:57 EDT
>Testing should be added to exercise the 6 logs above - as currently they likely print the following generic message
"There is no english translation for jaxb_metadata_warning_ignoring_type_on_map"
Comment 2 Michael OBrien CLA 2010-06-22 14:18:28 EDT
>one last review - spelling - "an" should be "and"
was encountered an will be ignored
Comment 3 Blaise Doughan CLA 2010-06-25 11:44:09 EDT
Created attachment 172770 [details]
Core - Fix
Comment 4 Blaise Doughan CLA 2010-06-25 12:19:57 EDT
Fix checked into trunk at rev:  7695
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:24:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink