Re: [VOTE] logo-shape

2014-06-12 Thread Thomas Hug
+1 on #3 and #12


On Thu, Jun 12, 2014 at 7:34 AM, Nicklas Karlsson nicka...@gmail.com
wrote:

 #12, #2 (most options look a bit like aiming for the letter A and #13
 reminds a bit of the german SS-logo) ;-)


 On Thu, Jun 12, 2014 at 5:11 AM, Shane Bryzak sbry...@redhat.com wrote:

  +1 for #1
 
 
  On 06/12/2014 12:51 AM, Gerhard Petracek wrote:
 
  hi @ all,
 
  this first vote is just about the basic shape/style and not the color.
 
  i've uploaded the candidates provided by jim at [1].
  please send a +1 for one (or two) logo shape/s.
  (there will be a 2nd vote about the color afterwards.)
 
  regards,
  gerhard
 
  [1] http://s.apache.org/DS_LOGO1_VOTE1
 
 
 


 --
 Nicklas Karlsson, +358 40 5062266
 Vaakunatie 10 as 7, 20780 Kaarina



[jira] [Resolved] (DELTASPIKE-636) @Secures should trigger the ds-exception-handler

2014-06-12 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek resolved DELTASPIKE-636.
-

Resolution: Fixed

 @Secures should trigger the ds-exception-handler
 

 Key: DELTASPIKE-636
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-636
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Security-Module
Affects Versions: 0.7
Reporter: Pedro Igor
Assignee: Gerhard Petracek
Priority: Minor
 Fix For: 1.0.0

 Attachments: AccessDeniedExceptionHandling.patch, 
 DELTASPIKE-636.patch, DELTASPIKE-636_4.patch


 When using @Secures, if a validation fails the AccessDeniedException is 
 thrown without letting the application to handle it properly. This ends up 
 printing the stack trace on the logs.
 Ideally, users should be able to handle this exception before propagating it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-636) @Secures should trigger the ds-exception-handler

2014-06-12 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek updated DELTASPIKE-636:


Attachment: (was: DELTASPIKE-636_2.patch)

 @Secures should trigger the ds-exception-handler
 

 Key: DELTASPIKE-636
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-636
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Security-Module
Affects Versions: 0.7
Reporter: Pedro Igor
Assignee: Gerhard Petracek
Priority: Minor
 Fix For: 1.0.0

 Attachments: AccessDeniedExceptionHandling.patch, 
 DELTASPIKE-636.patch, DELTASPIKE-636_4.patch


 When using @Secures, if a validation fails the AccessDeniedException is 
 thrown without letting the application to handle it properly. This ends up 
 printing the stack trace on the logs.
 Ideally, users should be able to handle this exception before propagating it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] logo-shape

2014-06-12 Thread Antoine Sabot-Durand
+1 for #1
+1 for #5

Antoine

Le 11 juin 2014 à 18:51, Gerhard Petracek gpetra...@apache.org a écrit :

 hi @ all,
 
 this first vote is just about the basic shape/style and not the color.
 
 i've uploaded the candidates provided by jim at [1].
 please send a +1 for one (or two) logo shape/s.
 (there will be a 2nd vote about the color afterwards.)
 
 regards,
 gerhard
 
 [1] http://s.apache.org/DS_LOGO1_VOTE1



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [VOTE] logo-shape

2014-06-12 Thread Romain Manni-Bucau
+1 for #5



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-06-12 11:37 GMT+02:00 Antoine Sabot-Durand anto...@sabot-durand.net:

 +1 for #1
 +1 for #5

 Antoine

 Le 11 juin 2014 à 18:51, Gerhard Petracek gpetra...@apache.org a écrit :

  hi @ all,
 
  this first vote is just about the basic shape/style and not the color.
 
  i've uploaded the candidates provided by jim at [1].
  please send a +1 for one (or two) logo shape/s.
  (there will be a 2nd vote about the color afterwards.)
 
  regards,
  gerhard
 
  [1] http://s.apache.org/DS_LOGO1_VOTE1




[jira] [Updated] (DELTASPIKE-637) duplicated handling of AccessDeniedException

2014-06-12 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek updated DELTASPIKE-637:


Fix Version/s: (was: 1.0.2)
   1.0.1

 duplicated handling of AccessDeniedException
 

 Key: DELTASPIKE-637
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-637
 Project: DeltaSpike
  Issue Type: Bug
  Components: JSF-Module
Affects Versions: 1.0.0
Reporter: Gerhard Petracek
Assignee: Gerhard Petracek
Priority: Minor
 Fix For: 1.0.1

 Attachments: DELTASPIKE-637.patch


 BridgeExceptionHandlerWrapper fires ExceptionToCatchEvent for 
 AccessDeniedException again. however, we can't just filter it since it's 
 currently the only approach to use handlers if the violation was detected by 
 an AccessDecisionVoter configured via view-configs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-637) duplicated handling of AccessDeniedException

2014-06-12 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek updated DELTASPIKE-637:


Attachment: DELTASPIKE-637.patch

 duplicated handling of AccessDeniedException
 

 Key: DELTASPIKE-637
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-637
 Project: DeltaSpike
  Issue Type: Bug
  Components: JSF-Module
Affects Versions: 1.0.0
Reporter: Gerhard Petracek
Priority: Minor
 Fix For: 1.0.1

 Attachments: DELTASPIKE-637.patch


 BridgeExceptionHandlerWrapper fires ExceptionToCatchEvent for 
 AccessDeniedException again. however, we can't just filter it since it's 
 currently the only approach to use handlers if the violation was detected by 
 an AccessDecisionVoter configured via view-configs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (DELTASPIKE-637) duplicated handling of AccessDeniedException

2014-06-12 Thread Gerhard Petracek (JIRA)

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

Gerhard Petracek reassigned DELTASPIKE-637:
---

Assignee: Gerhard Petracek

 duplicated handling of AccessDeniedException
 

 Key: DELTASPIKE-637
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-637
 Project: DeltaSpike
  Issue Type: Bug
  Components: JSF-Module
Affects Versions: 1.0.0
Reporter: Gerhard Petracek
Assignee: Gerhard Petracek
Priority: Minor
 Fix For: 1.0.1

 Attachments: DELTASPIKE-637.patch


 BridgeExceptionHandlerWrapper fires ExceptionToCatchEvent for 
 AccessDeniedException again. however, we can't just filter it since it's 
 currently the only approach to use handlers if the violation was detected by 
 an AccessDecisionVoter configured via view-configs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (DELTASPIKE-227) documentation for minimal type-safe messages

2014-06-12 Thread Rafael Benevides (JIRA)

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

Rafael Benevides resolved DELTASPIKE-227.
-

Resolution: Fixed

 documentation for minimal type-safe messages
 

 Key: DELTASPIKE-227
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-227
 Project: DeltaSpike
  Issue Type: Sub-task
  Components: I18n-Module
Reporter: Gerhard Petracek
Assignee: Rafael Benevides
 Fix For: 1.0.0






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-227) documentation for minimal type-safe messages

2014-06-12 Thread Rafael Benevides (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14029447#comment-14029447
 ] 

Rafael Benevides commented on DELTASPIKE-227:
-

Commit r1602237

 documentation for minimal type-safe messages
 

 Key: DELTASPIKE-227
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-227
 Project: DeltaSpike
  Issue Type: Sub-task
  Components: I18n-Module
Reporter: Gerhard Petracek
Assignee: Rafael Benevides
 Fix For: 1.0.0






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-634) Add documentation for Deactivatable

2014-06-12 Thread Rafael Benevides (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14029444#comment-14029444
 ] 

Rafael Benevides commented on DELTASPIKE-634:
-

Commit: r1602236

 Add documentation for Deactivatable
 ---

 Key: DELTASPIKE-634
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-634
 Project: DeltaSpike
  Issue Type: Task
  Components: Core, Documentation
Reporter: Thomas Andraschko
Assignee: Rafael Benevides

 There is currently no docu available for how to disable our deactivatable 
 artifacts



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (DELTASPIKE-634) Add documentation for Deactivatable

2014-06-12 Thread Rafael Benevides (JIRA)

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

Rafael Benevides resolved DELTASPIKE-634.
-

Resolution: Fixed

published: http://deltaspike.apache.org/core.html#deactivatable

 Add documentation for Deactivatable
 ---

 Key: DELTASPIKE-634
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-634
 Project: DeltaSpike
  Issue Type: Task
  Components: Core, Documentation
Reporter: Thomas Andraschko
Assignee: Rafael Benevides

 There is currently no docu available for how to disable our deactivatable 
 artifacts



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: Data Module - Criteria Support

2014-06-12 Thread Thomas Hug
Hi Radu,

Thanks for paying attention! You're right, doesn't really make sense.
Additionally, the result type can also be narrowed down to a
QuerySelectionE, Long.
I'll create a JIRA ticket for it.

Cheers,
Thomas



On Thu, Jun 12, 2014 at 4:53 PM, Radu Creanga rdc...@gmail.com wrote:

 Hi @all,

 I am just trying out the data module and it seems that the
 CriteriaSupport#count() method is too restrictive on the attribute
 parameter type. The current declaration is:

 N extends Number QuerySelectionE, N count(SingularAttributeE, N
 attribute);

 while it should probably be:

 N extends Number QuerySelectionE, N count(SingularAttributeE, ?
 attribute);

 That's because when using the Criteria API alone, there is no such
 restriction to the attribute type. Could this be an oversight?

 Best regards,
 Radu



[jira] [Resolved] (DELTASPIKE-639) Fix Criteria API count methods signatures

2014-06-12 Thread Thomas Hug (JIRA)

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

Thomas Hug resolved DELTASPIKE-639.
---

Resolution: Fixed

API updated.

 Fix Criteria API count methods signatures
 -

 Key: DELTASPIKE-639
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-639
 Project: DeltaSpike
  Issue Type: Bug
  Components: Data-Module
Affects Versions: 0.7
Reporter: Thomas Hug
Assignee: Thomas Hug
 Fix For: 1.0.0


 The method signatures for the count should:
 - Return a QuerySelectionE, Long
 - Take a SingularAttributeE, ? as parameter



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (DELTASPIKE-627) Distinguish saves and updates

2014-06-12 Thread Thomas Hug (JIRA)

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

Thomas Hug resolved DELTASPIKE-627.
---

Resolution: Fixed

Javadoc of save updated. The distinction can be made using 
EntityManagerDelegate.

 Distinguish saves and updates
 -

 Key: DELTASPIKE-627
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-627
 Project: DeltaSpike
  Issue Type: Bug
  Components: Data-Module
Affects Versions: 0.7
Reporter: Harald Wellmann
Assignee: Thomas Hug

 JPA {{EntityManager}} has distinct {{persist()}} and {{merge()}} methods, and 
 there's a reason for that.
 DeltaSpike {{EntityRepository}} hides both behind a {{save()}} method which 
 loses information and does not always do the right thing.
 Example:
 Take an entity with a user-defined ID of type String, e.g.
 {code}
 @Entity
 public class Language {
 @Id
 private String id;
 private String name;
 }
 {code}
 Using {{EntityManager.persist()}}, we get an {{EntityExistsException}}:
 {code}
 em.persist(new Language(de, Deutsch));
 em.persist(new Language(de, Doitsch));
 {code}
 Using {{EntityRepository.save()}}, the first entity is silently overwritten 
 by the second one.
 {code}
 repository.save(new Language(de, Deutsch));
 repository.save(new Language(de, Doitsch));
 {code}
 Goals:
 * Clarify semantics of save() in the Javadoc.
 * Add a create() method with persist() semantics.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (DELTASPIKE-640) Document Scopes in Core module

2014-06-12 Thread Thomas Andraschko (JIRA)
Thomas Andraschko created DELTASPIKE-640:


 Summary: Document Scopes in Core module
 Key: DELTASPIKE-640
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-640
 Project: DeltaSpike
  Issue Type: Task
  Components: Core, Documentation
Reporter: Thomas Andraschko


The API for all scopes is available in the Core API and we currently only have 
implementions for JSF.
We should document this, all scopes and maybe give some hints how to implement 
it for other technologies.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (DELTASPIKE-642) Better structure for Core documentation

2014-06-12 Thread Thomas Andraschko (JIRA)
Thomas Andraschko created DELTASPIKE-642:


 Summary: Better structure for Core documentation
 Key: DELTASPIKE-642
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-642
 Project: DeltaSpike
  Issue Type: Task
  Components: Core, Documentation
Reporter: Thomas Andraschko


Currently we have this as root nodes below Core - API
Exception Control
Exception Handling - Usage
Eventing into the exception handling framework
Exception handlers
Exception Chain Processing
Handler ordinal
APIs for exception information and flow control

I would group it to Exception Handling below Core - API




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (DELTASPIKE-610) re-visit DataSourceConfig

2014-06-12 Thread Mark Struberg (JIRA)

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

Mark Struberg resolved DELTASPIKE-610.
--

Resolution: Fixed

I removed it. It does of course also work with other JPA providers as well, but 
there are better ways to do this most of the time.

 re-visit DataSourceConfig
 -

 Key: DELTASPIKE-610
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-610
 Project: DeltaSpike
  Issue Type: Task
  Components: JPA-Module
Affects Versions: 0.7
Reporter: Gerhard Petracek
Assignee: Mark Struberg
Priority: Blocker
 Fix For: 1.0.0


 if DataSourceConfig is still just compatible with openjpa, we have to drop it.
 (blocker, because we have to do it before v1)



--
This message was sent by Atlassian JIRA
(v6.2#6252)