Closed Bug 49424 Opened 25 years ago Closed 25 years ago

StringBundle caches failed bundle

Categories

(Core :: Internationalization, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla0.6

People

(Reporter: tao, Assigned: alecf)

References

()

Details

(Whiteboard: [nsbeta3-]Fix in hand)

Attachments

(1 file)

Hi, Alec: Please refer to the stringbundle caching code as pointed in the URL field. It appears that an assumption is made that the property file bundling is successful as long as the object creation is successful. This is mostly correct except in opening vcard.properties and necko.properties. When the stream opening fails, the ctr passes the error code out as the 3rd arg. In such case, the strBundle should not be cached; otherwise, subsequentail string retrieval will return bogus value as describe in bug 17294.
This bug block nsbeta3+ bug: 17294
Blocks: 17294
Keywords: nsbeta3
No longer blocks: 17294
17294 is verified fixed, so this can't be blocking it. How many people are going to see this bug? I'm not sure why it should be plussed.
Priority: P3 → P2
no response = nsbeta3-.
Whiteboard: [nsbeta3-]
no response = nsbeta3-.
fix was easy, attaching a patch for review
Status: NEW → ASSIGNED
Whiteboard: [nsbeta3-] → [nsbeta3-]Fix in hand
Priority: P2 → P1
Target Milestone: --- → mozilla0.6
r=tao
thanks tao, fix is in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Changed QA contact to tao.
QA Contact: teruko → tao
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: