home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003790: Improved exception handling in GUIControlFactory
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 828264" data-attributes="member: 48617"><p>When GUIControlFactory updates a control it performs type conversions from string to a target type (int, bool, etc). At the moment the exceptions are handled internal to GUIControlFactory on each attempt to create the control. The problem is that the window never receives notice that the control couldn't be created properly and so the window keeps trying to create the broken control resulting in MP freezing while trying to load the window. By throwing the exception to the GUIWindow the window can remove the offending control from its list of controls and log a debug error. Without this change the skin developer needs to kill MP and manually hunt through the window xml to find the problem (the logs are not useful). With this change you can leave MP running and simply edit the xml file (with good log info) and retry.</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3790" target="_blank">http://mantis.team-mediaportal.com/view.php?id=3790</a></p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3790" target="_blank">Open the issue in Mantis...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 828264, member: 48617"] When GUIControlFactory updates a control it performs type conversions from string to a target type (int, bool, etc). At the moment the exceptions are handled internal to GUIControlFactory on each attempt to create the control. The problem is that the window never receives notice that the control couldn't be created properly and so the window keeps trying to create the broken control resulting in MP freezing while trying to load the window. By throwing the exception to the GUIWindow the window can remove the offending control from its list of controls and log a debug error. Without this change the skin developer needs to kill MP and manually hunt through the window xml to find the problem (the logs are not useful). With this change you can leave MP running and simply edit the xml file (with good log info) and retry. [url]http://mantis.team-mediaportal.com/view.php?id=3790[/url] [url=http://mantis.team-mediaportal.com/view.php?id=3790]Open the issue in Mantis...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003790: Improved exception handling in GUIControlFactory
Contact us
RSS
Top
Bottom