[jira] [Commented] (FELIX-5223) [IE11][Edge]: Fields in OSGI Configuration Manager are not editable
[ https://issues.apache.org/jira/browse/FELIX-5223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320924#comment-15320924 ] Cliff Collins commented on FELIX-5223: -- You are correct, I should have cleared the cache. Works fine on Safari. I figured it wasn't that because I didn't clear it on the other browsers and it worked. thanks. > [IE11][Edge]: Fields in OSGI Configuration Manager are not editable > --- > > Key: FELIX-5223 > URL: https://issues.apache.org/jira/browse/FELIX-5223 > Project: Felix > Issue Type: Bug > Components: Web Console >Affects Versions: webconsole-4.2.8, webconsole-4.2.14 >Reporter: Ana Vinatoru >Assignee: Carsten Ziegeler > Fix For: webconsole-4.2.16 > > Attachments: FELIX-5223_2.diff, Screen Shot 2016-03-23 at > 17.30.21.png, Screen Shot 2016-03-24 at 17.34.51_with_paddings.png > > > Access the configuration manager (/system/console/configMgr) using IE11 or > Microsoft Edge. > Find a configuration that allows the user to input text inside a textfield. > The content of these fields is not visible or editable because the height of > the field is set to 0px. > Investigation seems to point to a malfunction of the autosize JS library, as > this line in config.js set the height to 0: > +$(textareaEl).autosize(); > A possible solution would be to set a min-height on the textfields, if the > issue in the library isn't fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5278) Error in method managedInjectedObject of InstanceManager
[ https://issues.apache.org/jira/browse/FELIX-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320489#comment-15320489 ] Clement Escoffier commented on FELIX-5278: -- BTW there is a way to inject an existing "service object" in an iPOJO container. I can't remember the name of the property. You may be able to use this mechanism. > Error in method managedInjectedObject of InstanceManager > > > Key: FELIX-5278 > URL: https://issues.apache.org/jira/browse/FELIX-5278 > Project: Felix > Issue Type: Bug > Components: iPOJO >Affects Versions: ipojo-runtime-1.12.1 > Environment: Ubuntu >Reporter: Aygalinc Colin > Labels: patch > Original Estimate: 1h > Remaining Estimate: 1h > > In InstanceManager.java, the method managedInjectedObject at line 1016 can > throw an java.lang.NoSuchMethodException in case of extension of the > InstanceManager. > I recommend to change the line 1016: > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new > Class[]{this.getClass()}); > by : > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new new > Class[]{InstanceManager.class}); > because iPOJO manipulation always produces a _setInstanceManager method with > an InstanceManager.class attribute. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5278) Error in method managedInjectedObject of InstanceManager
[ https://issues.apache.org/jira/browse/FELIX-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320478#comment-15320478 ] Clement Escoffier commented on FELIX-5278: -- The instance manager is not really made to be extended, it heavily depends on the bytecode manipulation. In this context, it's would make more sense to extend iPOJO by providing a new "component type type", such as composite. > Error in method managedInjectedObject of InstanceManager > > > Key: FELIX-5278 > URL: https://issues.apache.org/jira/browse/FELIX-5278 > Project: Felix > Issue Type: Bug > Components: iPOJO >Affects Versions: ipojo-runtime-1.12.1 > Environment: Ubuntu >Reporter: Aygalinc Colin > Labels: patch > Original Estimate: 1h > Remaining Estimate: 1h > > In InstanceManager.java, the method managedInjectedObject at line 1016 can > throw an java.lang.NoSuchMethodException in case of extension of the > InstanceManager. > I recommend to change the line 1016: > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new > Class[]{this.getClass()}); > by : > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new new > Class[]{InstanceManager.class}); > because iPOJO manipulation always produces a _setInstanceManager method with > an InstanceManager.class attribute. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FELIX-5279) Add a FailOnWarning config property to the maven-bundle-plugin
Eric Peterson created FELIX-5279: Summary: Add a FailOnWarning config property to the maven-bundle-plugin Key: FELIX-5279 URL: https://issues.apache.org/jira/browse/FELIX-5279 Project: Felix Issue Type: Improvement Reporter: Eric Peterson In the maven-dependency-plugin a FailOnWarning config property is available. This should also be added to the maven-bundle-plugin -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5278) Error in method managedInjectedObject of InstanceManager
[ https://issues.apache.org/jira/browse/FELIX-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320373#comment-15320373 ] Aygalinc Colin commented on FELIX-5278: --- It throws the exception in this case: - A CustomInstanceManager extends InstanceManager. - This manager creates the POJO before calling start method. - In the first call of the start method, exception is thrown. As example in createObject, at line 746 or 757, iPOJO uses InstanceManager.class to find the appropriate constructor and i think the same mechanism must be used in managedInjectedObject because of the invariant behavior of iPOJO bytecode manipulation. > Error in method managedInjectedObject of InstanceManager > > > Key: FELIX-5278 > URL: https://issues.apache.org/jira/browse/FELIX-5278 > Project: Felix > Issue Type: Bug > Components: iPOJO >Affects Versions: ipojo-runtime-1.12.1 > Environment: Ubuntu >Reporter: Aygalinc Colin > Labels: patch > Original Estimate: 1h > Remaining Estimate: 1h > > In InstanceManager.java, the method managedInjectedObject at line 1016 can > throw an java.lang.NoSuchMethodException in case of extension of the > InstanceManager. > I recommend to change the line 1016: > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new > Class[]{this.getClass()}); > by : > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new new > Class[]{InstanceManager.class}); > because iPOJO manipulation always produces a _setInstanceManager method with > an InstanceManager.class attribute. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5278) Error in method managedInjectedObject of InstanceManager
[ https://issues.apache.org/jira/browse/FELIX-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320327#comment-15320327 ] Clement Escoffier commented on FELIX-5278: -- can throw ? or throws ? > Error in method managedInjectedObject of InstanceManager > > > Key: FELIX-5278 > URL: https://issues.apache.org/jira/browse/FELIX-5278 > Project: Felix > Issue Type: Bug > Components: iPOJO >Affects Versions: ipojo-runtime-1.12.1 > Environment: Ubuntu >Reporter: Aygalinc Colin > Labels: patch > Original Estimate: 1h > Remaining Estimate: 1h > > In InstanceManager.java, the method managedInjectedObject at line 1016 can > throw an java.lang.NoSuchMethodException in case of extension of the > InstanceManager. > I recommend to change the line 1016: > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new > Class[]{this.getClass()}); > by : > Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new new > Class[]{InstanceManager.class}); > because iPOJO manipulation always produces a _setInstanceManager method with > an InstanceManager.class attribute. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FELIX-5278) Error in method managedInjectedObject of InstanceManager
Aygalinc Colin created FELIX-5278: - Summary: Error in method managedInjectedObject of InstanceManager Key: FELIX-5278 URL: https://issues.apache.org/jira/browse/FELIX-5278 Project: Felix Issue Type: Bug Components: iPOJO Affects Versions: ipojo-runtime-1.12.1 Environment: Ubuntu Reporter: Aygalinc Colin In InstanceManager.java, the method managedInjectedObject at line 1016 can throw an java.lang.NoSuchMethodException in case of extension of the InstanceManager. I recommend to change the line 1016: Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new Class[]{this.getClass()}); by : Method setIM = m_clazz.getDeclaredMethod("_setInstanceManager", new new Class[]{InstanceManager.class}); because iPOJO manipulation always produces a _setInstanceManager method with an InstanceManager.class attribute. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FELIX-5223) [IE11][Edge]: Fields in OSGI Configuration Manager are not editable
[ https://issues.apache.org/jira/browse/FELIX-5223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320251#comment-15320251 ] Ana Vinatoru commented on FELIX-5223: - Hi [~gossmer] - before you create the issue can you clear the browser cache and try again? $(textareaEl).autosize() is the old autosize API, so it might just be a stale config.js file. I tested on Safari 9.1.1 and the error did not occur. > [IE11][Edge]: Fields in OSGI Configuration Manager are not editable > --- > > Key: FELIX-5223 > URL: https://issues.apache.org/jira/browse/FELIX-5223 > Project: Felix > Issue Type: Bug > Components: Web Console >Affects Versions: webconsole-4.2.8, webconsole-4.2.14 >Reporter: Ana Vinatoru >Assignee: Carsten Ziegeler > Fix For: webconsole-4.2.16 > > Attachments: FELIX-5223_2.diff, Screen Shot 2016-03-23 at > 17.30.21.png, Screen Shot 2016-03-24 at 17.34.51_with_paddings.png > > > Access the configuration manager (/system/console/configMgr) using IE11 or > Microsoft Edge. > Find a configuration that allows the user to input text inside a textfield. > The content of these fields is not visible or editable because the height of > the field is set to 0px. > Investigation seems to point to a malfunction of the autosize JS library, as > this line in config.js set the height to 0: > +$(textareaEl).autosize(); > A possible solution would be to set a min-height on the textfields, if the > issue in the library isn't fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)