Hey,
Did you also check the implementation of the deprecatedConstantWarning [1]? It
does not create the warning, it creates a getter which warns as soon as the
constant is accessed. Also, I'm quite sure its not in the framework. I made a
playground sample [2] and there is no warning when I use the class there.
No matter where the piece of code is, it is interesting to know where. If its
in the framework, I'm interested in it and if its in the application, your
interested in it. ;) So could you do me the favor and put a debugger statement
above line 330 of that mentioned logger class. In the stack trace, it should
become clear which piece of code is accessing the constant. Oh, I have just
seen that there should be a stacktrace on the console as soon as the warning
appears. Is there one?
Regards,
Martin
[1]
https://github.com/qooxdoo/qooxdoo/blob/release_2_1/framework/source/class/qx/log/Logger.js#L321
[2]
http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.bom.element.Opacity.compile(0.5)%253B%250Aqx.bom.element.Opacity.get(document.body)%253B%250Aqx.bom.element.Opacity.set(document.body%252C%25201)%253B%22%2C%20%22mode%22%3A%22ria%22%7D<http://demo.qooxdoo.org/current/playground/#%7B%22code%22:%22qx.bom.element.Opacity.compile(0.5)%253B%250Aqx.bom.element.Opacity.get(document.body)%253B%250Aqx.bom.element.Opacity.set(document.body%252C%25201)%253B%22,%20%22mode%22:%22ria%22%7D>
Am 23.11.2012 um 08:58 schrieb Raphael Schweikert - Vertec AG
<[email protected]<mailto:[email protected]>>:
Hi Martin,
No, I'm not using anything out of the ordinary. I think Thomas was right: the
warning is thrown whenever the Opacity class is used, regardless of whether the
constant is being accessed or not.
I've found the relevant code here:
https://github.com/qooxdoo/qooxdoo/blob/release_2_1/framework/source/class/qx/bom/element/Opacity.js#L258
And I need to relativize my use of the word "repeatedly": I'm only getting
multiple warnings when using the testrunner, which most likely stems from the
fact that the iframe for the test cases is being reloaded. When running my app
normally, I'm only getting the warning once. I can very well live with this if
I know I'm not to blame.
Sincerely,
Raphael
-----Ursprüngliche Nachricht-----
Von: Martin Wittemann [mailto:[email protected]<http://1und1.de>]
Gesendet: Donnerstag, 22. November 2012 14:29
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] SUPPORT_CSS3_OPACITY deprecation
warnings
Hey,
I'm quite sure that its not part of the framework code base. Do you use any
library e.g. a contribution project or something similar where the warning
could come from?
Regards,
Martin
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel