Need a compiled cocoon-profiler-block 2.2

2008-09-09 Thread abb

hello everyone,

i need a compiled cocoon-profiler-block version 2.2. the latest compiled
version is 2.1.11. i already tried downloading the 2.2 snapshot and compile
it by myself but i dont get it :(

does anyone have a compiled 2.2 version (best would be as jar)?

thank you very much

greetings

abb
-- 
View this message in context: 
http://www.nabble.com/Need-a-compiled-cocoon-profiler-block-2.2-tp19387521p19387521.html
Sent from the Cocoon - Dev mailing list archive at Nabble.com.



Patch for NPE in ApplicationUtil (cocoon-auth-api)

2008-09-09 Thread Benjamin Boksa

Hi,

today I ran into a NPE when using ApplicationUtil.isUserInRole(…),  
attached is a patch that allows the User instance passed to  
isUserInRole(…) to be null.


Hope it is OK to submit a patch like that - if there is a better way  
to do it just let me know.


Best regards

Benjamin






Fwd: Patch for NPE in ApplicationUtil (cocoon-auth-api)

2008-09-09 Thread Benjamin Boksa

This time including the patch…



ApplicationUtil.java.patch
Description: Binary data




Anfang der weitergeleiteten E-Mail:


Von: Benjamin Boksa [EMAIL PROTECTED]
Datum: 9. September 2008 12:20:29 MESZ
An: dev@cocoon.apache.org
Betreff: Patch for NPE in ApplicationUtil (cocoon-auth-api)
Antwort an: dev@cocoon.apache.org

Hi,

today I ran into a NPE when using ApplicationUtil.isUserInRole(…),  
attached is a patch that allows the User instance passed to  
isUserInRole(…) to be null.


Hope it is OK to submit a patch like that - if there is a better way  
to do it just let me know.


Best regards

Benjamin








Re: Patch for NPE in ApplicationUtil (cocoon-auth-api)

2008-09-09 Thread Joerg Heinicke
Benjamin Boksa mailinglists at boksa.de writes:

 Hi,
 
 today I ran into a NPE when using ApplicationUtil.isUserInRole(…),  
 attached is a patch that allows the User instance passed to  
 isUserInRole(…) to be null.
 
 Hope it is OK to submit a patch like that - if there is a better way  
 to do it just let me know.

Hi Benjamin,

please file an issue in our bug-tracking system Jira [1]. This is especially for
legal reasons since you have to grant license to ASF to actually allow us to use
your patch in Cocoon. You will find this option I'm talking about when you
attach the patch to the issue.

Thanks,

Joerg

[1] https://issues.apache.org/jira/browse/COCOON



[jira] Updated: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole

2008-09-09 Thread Benjamin Boksa (JIRA)

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

Benjamin Boksa updated COCOON-2243:
---

Attachment: ApplicationUtil.java.patch

Patch that should handle user == null when calling isUserInRole

 NPE when calling ApplicationUtil.isUserInRole
 -

 Key: COCOON-2243
 URL: https://issues.apache.org/jira/browse/COCOON-2243
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: Authentication Framework
Affects Versions: 2.2, 2.2-dev (Current SVN)
Reporter: Benjamin Boksa
Priority: Minor
 Fix For: 2.2, 2.2-dev (Current SVN)

 Attachments: ApplicationUtil.java.patch


 A NullPointerException is thrown when calling 
 ApplicationUtil.isUserInRole(final User user, final String role, final Map 
 objectModel) with user == null. The attached patch should fix that issue. 
 Patch was made against the nightly build (cocoon_20080909041525.tar.gz).
 I hope I submitted everything correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole

2008-09-09 Thread Benjamin Boksa (JIRA)
NPE when calling ApplicationUtil.isUserInRole
-

 Key: COCOON-2243
 URL: https://issues.apache.org/jira/browse/COCOON-2243
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: Authentication Framework
Affects Versions: 2.2, 2.2-dev (Current SVN)
Reporter: Benjamin Boksa
Priority: Minor
 Fix For: 2.2, 2.2-dev (Current SVN)
 Attachments: ApplicationUtil.java.patch

A NullPointerException is thrown when calling 
ApplicationUtil.isUserInRole(final User user, final String role, final Map 
objectModel) with user == null. The attached patch should fix that issue. Patch 
was made against the nightly build (cocoon_20080909041525.tar.gz).

I hope I submitted everything correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Patch for NPE in ApplicationUtil (cocoon-auth-api)

2008-09-09 Thread Benjamin Boksa


Hi,

today I ran into a NPE when using ApplicationUtil.isUserInRole(…),
attached is a patch that allows the User instance passed to
isUserInRole(…) to be null.

Hope it is OK to submit a patch like that - if there is a better way
to do it just let me know.


Hi Benjamin,

please file an issue in our bug-tracking system Jira [1]. This is  
especially for
legal reasons since you have to grant license to ASF to actually  
allow us to use
your patch in Cocoon. You will find this option I'm talking about  
when you

attach the patch to the issue.

Thanks,

Joerg

[1] https://issues.apache.org/jira/browse/COCOON



Hi Joerg,

thanks - issue is filed [1]. Sorry for the second email.

HTH

Benjamin

[1] https://issues.apache.org/jira/browse/COCOON-2243

[jira] Closed: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole

2008-09-09 Thread JIRA

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

Jörg Heinicke closed COCOON-2243.
-

 Resolution: Fixed
  Fix Version/s: (was: 2.2)
 2.1.12-dev (Current SVN)
Fix version (Component): Parent values: Blocks: Authentication(10233). 
   Assignee: Jörg Heinicke

Patch applied. Thanks, Benjamin.

 NPE when calling ApplicationUtil.isUserInRole
 -

 Key: COCOON-2243
 URL: https://issues.apache.org/jira/browse/COCOON-2243
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: Authentication Framework
Affects Versions: 2.1.11, 2.2
Reporter: Benjamin Boksa
Assignee: Jörg Heinicke
Priority: Minor
 Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)

 Attachments: ApplicationUtil.java.patch


 A NullPointerException is thrown when calling 
 ApplicationUtil.isUserInRole(final User user, final String role, final Map 
 objectModel) with user == null. The attached patch should fix that issue. 
 Patch was made against the nightly build (cocoon_20080909041525.tar.gz).
 I hope I submitted everything correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole

2008-09-09 Thread JIRA

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

Jörg Heinicke updated COCOON-2243:
--

Affects Version/s: (was: 2.2-dev (Current SVN))
   2.1.11

 NPE when calling ApplicationUtil.isUserInRole
 -

 Key: COCOON-2243
 URL: https://issues.apache.org/jira/browse/COCOON-2243
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: Authentication Framework
Affects Versions: 2.1.11, 2.2
Reporter: Benjamin Boksa
Assignee: Jörg Heinicke
Priority: Minor
 Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)

 Attachments: ApplicationUtil.java.patch


 A NullPointerException is thrown when calling 
 ApplicationUtil.isUserInRole(final User user, final String role, final Map 
 objectModel) with user == null. The attached patch should fix that issue. 
 Patch was made against the nightly build (cocoon_20080909041525.tar.gz).
 I hope I submitted everything correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.