Bug 524 - [Chameleon - Widget] Shared Resources do not get errors??
: [Chameleon - Widget] Shared Resources do not get errors??
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-07-14 13:16 by
Modified: 2004-12-02 21:26 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-07-14 13:16:08
I have noticed when trying to set the correct path to a background image in a
Textbutton shared resource. no errors occured when the shared resource could not
find it.

eg.
    <textbuttonbackgroundimage value="xxx.png"/>
If fact when It did set it up correctly even if I have a wrong path, the
background image still was found and loaded, even if I deleted the cache

I also change the textbuttonbackgroundimage name to see if an error was created.
No error occured.

If there is an error in the shared resources what should happen. Should it be
displayed in red??, popup error report??
------- Comment #1 From 2004-07-15 15:12:34 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-11-03 14:57:52 -------
SharedResources know nothing about their contents so they cannot validate them.
 However, widgets that use SharedResources should be validating the contents
whenever possible.  The issue listed in this bug has actually been fixed, the
buttonizer and Button.php will now detect invalid images and report them.