[jira] [Updated] (OWB-1213) producer of URI or other classes with private ct blow up with a NPE

2017-08-16 Thread Mark Struberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/OWB-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg updated OWB-1213:
---
Description: 
URI has a private ct, so it's not a valid bean type. 

Otoh one can easily a producer method returning an URI.
Currently this blows up with a NPE because any type is also checked for 
self-injection.

> producer of URI or other classes with private ct blow up with a NPE
> ---
>
> Key: OWB-1213
> URL: https://issues.apache.org/jira/browse/OWB-1213
> Project: OpenWebBeans
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.0.0
>Reporter: Mark Struberg
>Assignee: Mark Struberg
> Fix For: 2.0.1
>
>
> URI has a private ct, so it's not a valid bean type. 
> Otoh one can easily a producer method returning an URI.
> Currently this blows up with a NPE because any type is also checked for 
> self-injection.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OWB-1213) producer of URI or other classes with private ct blow up with a NPE

2017-08-16 Thread Mark Struberg (JIRA)
Mark Struberg created OWB-1213:
--

 Summary: producer of URI or other classes with private ct blow up 
with a NPE
 Key: OWB-1213
 URL: https://issues.apache.org/jira/browse/OWB-1213
 Project: OpenWebBeans
  Issue Type: Bug
  Components: Core
Affects Versions: 2.0.0
Reporter: Mark Struberg
 Fix For: 2.0.1






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OWB-1213) producer of URI or other classes with private ct blow up with a NPE

2017-08-16 Thread Mark Struberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/OWB-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg reassigned OWB-1213:
--

Assignee: Mark Struberg

> producer of URI or other classes with private ct blow up with a NPE
> ---
>
> Key: OWB-1213
> URL: https://issues.apache.org/jira/browse/OWB-1213
> Project: OpenWebBeans
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.0.0
>Reporter: Mark Struberg
>Assignee: Mark Struberg
> Fix For: 2.0.1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: [DISCUSS] Release OWB-2.0.1 ?

2017-08-16 Thread John D. Ament
Ok, both tickets are in.

On Wed, Aug 16, 2017 at 12:17 AM Mark Struberg 
wrote:

> That would be really great if you could create Tickets and attach patches,
> txs John
>
> LieGrue,
> strub
>
>
> > Am 16.08.2017 um 01:25 schrieb John D. Ament :
> >
> > A 2.0.1 based on the current would be good, however I would recommend
> > bringing in these two commits independent of the remaining work, since
> they
> > fix core issues.
> >
> > - OWB isn't firing a before destroyed event -
> >
> https://github.com/johnament/openwebbeans/commit/10d62fca523f60a88616b8828cf4efccd845fadc
> > - OWB isn't honoring javax.enterprise.inject.scan.implicit flags -
> >
> https://github.com/johnament/openwebbeans/commit/696e4ba168124ac089e98392bf65c09fe002749d
> >
> > If you want I can create tickets and attach specific patches to those
> > tickets.
> >
> > John
> >
> > On Tue, Aug 15, 2017 at 3:22 PM Romain Manni-Bucau <
> rmannibu...@gmail.com>
> > wrote:
> >
> >> +1 for se in 2.0.2 and 2.0.1 sooner
> >>
> >> If you nees help for SE on something specific, feel free to ping me.
> >>
> >> Le 15 août 2017 14:37, "Mark Struberg"  a
> >> écrit :
> >>
> >>> Oki, that seems to be a bit more work to be left still.
> >>>
> >>> I'd then suggest to go on with the immanent features and release
> >> OWB-2.0.1
> >>> pretty soon while targetting 2.0.2 for the SE work.
> >>>
> >>> txs and LieGrue,
> >>> strub
> >>>
> >>>
>  Am 15.08.2017 um 13:48 schrieb John D. Ament :
> 
>  Mark,
> 
>  SE support is still a long ways from being done.  Most of the issues
> >> are
>  resolved, all of the remaining problems are related to OWB not
> honoring
>  when the container's been shutdown.
> 
>  The good news, by removing the automatic starting of request context
> >> and
>  properly shutting down app context in the SELifeCycle class, OWB is
> >>> finally
>  marking the proxies as invalid, but it seems like we still need to add
> >> an
>  isRunning check somewhere.
> 
>  John
> 
>  On Tue, Aug 15, 2017 at 7:19 AM Mark Struberg
> >>  
>  wrote:
> 
> > Hi folks!
> >
> > I'd love to fix OWB-1209 and get Johns SE changes in.
> > I think we are then ready to roll a 2.0.1 release, isn't?
> >
> > John, I'll be available on IRC to coordinate and review your proposed
> >> SE
> > changes.
> > Of course we could also discuss it via IRC, but might be easier to
> >> give
> > that feedback via a shared hangout screen.
> >
> > LieGrue,
> > strub
> > .
> >
> >>>
> >>>
> >>
>
>


[jira] [Created] (OWB-1212) OWB not honoring implicit scanning flag

2017-08-16 Thread John D. Ament (JIRA)
John D. Ament created OWB-1212:
--

 Summary: OWB not honoring implicit scanning flag
 Key: OWB-1212
 URL: https://issues.apache.org/jira/browse/OWB-1212
 Project: OpenWebBeans
  Issue Type: Bug
Reporter: John D. Ament
 Attachments: implicit-scanning.patch

CDI 2.0 adds an implicit scan option in SE mode.  If on, it scans bean archives 
without beans.xml.  This is a change to add support for that flag.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OWB-1211) OWB is not firing BeforeDestroyed on contexts

2017-08-16 Thread John D. Ament (JIRA)
John D. Ament created OWB-1211:
--

 Summary: OWB is not firing BeforeDestroyed on contexts
 Key: OWB-1211
 URL: https://issues.apache.org/jira/browse/OWB-1211
 Project: OpenWebBeans
  Issue Type: Bug
Reporter: John D. Ament
 Attachments: BeforeDestroyed.patch

Per the spec, in CDI 2, a new event "BeforeDestroyed" was added in the context 
destruction life cycle that is fired before the destruction of that context.  
OWB isn't firing it yet, attached is a patch that does it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)