[hibernate-dev] i18n and cascade validation

2013-02-13 Thread Mihai Cazacu
Hi,

I have this classes:

class Address {
>
@NotEmpty(message = "{address.notEmpy}")

String body
> }





class Contact {
> Address address
> }



class Person {
> Contact contact
> Address address
> }


Is there a way to obtain different messages when the "address.body" is null
in both Person and Contact?
Right now I've got:

ConstraintViolationImpl{interpolatedMessage='may not be empty',
> propertyPath=contact.address.body, rootBeanClass=class Person,
> messageTemplate='{address.notEmpy}'}
> ConstraintViolationImpl{interpolatedMessage='may not be empty',
> propertyPath=address.body, rootBeanClass=class Person,
> messageTemplate='{address.notEmpy}'}


Thanks!
Mihai
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] JIRA notification schemas

2013-02-13 Thread Sanne Grinovero
Since any JIRA change will trigger an email to
hibernate-iss...@lists.jboss.org, and JIRA can't possibly know who is
on this list, I'm getting many duplicates.

I like the fine-grained level on the mailing list as it's a safe
backup & log to inspect all events, still the volume is forcing me to
filter those emails in my client; filtering made me miss some events
that I'm particularly interested in, so:

I've created a new notification scheme - forking the original one so
that it doesn't affect other projects - and will apply it to Hibernate
Search for now.

What is changed:
 - some more events are specifically sent to the Project Lead (in
addition to "participants"): Assigned, Closed, Deleted, Moved, Work
Started and Stopped.
 - some more events are sent to those part of the "committers" group:
Created, Resolved, Pull request sent.

If you're interested in comments or other fine-grained events related
to an issue, either keep using the hibernate-issues mail folder or
make sure to "Watch" the issue when it's created.

I'm only applying this to HSEARCH for now, I guess most of you won't
notice significant differences.

@Hardy I see there is a one-off specific rule to send you an
individual email for any issue creation, I removed that as it
shouldn't be needed anymore?

If some of this doesn't work for you, let me know I'll try fixing it.

Cheers,
Sanne
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] JIRA notification schemas

2013-02-13 Thread Hardy Ferentschik

On 13 Jan 2013, at 4:26 PM, Sanne Grinovero  wrote:

> @Hardy I see there is a one-off specific rule to send you an
> individual email for any issue creation, I removed that as it
> shouldn't be needed anymore?

Thanks. I want to keep getting creation emails. Then I can decide what to do.
I think the problem recently is that Jira seems to be reluctant to release 
emails. 
Apparently it needs a kick in the behind to do so :-)

--Hardy


___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] JIRA notification schemas

2013-02-13 Thread Sanne Grinovero
On 13 February 2013 15:31, Hardy Ferentschik  wrote:
>
> On 13 Jan 2013, at 4:26 PM, Sanne Grinovero  wrote:
>
>> @Hardy I see there is a one-off specific rule to send you an
>> individual email for any issue creation, I removed that as it
>> shouldn't be needed anymore?
>
> Thanks. I want to keep getting creation emails. Then I can decide what to do.
> I think the problem recently is that Jira seems to be reluctant to release 
> emails.
> Apparently it needs a kick in the behind to do so :-)

No doubts I want you to receive those :-)
But now you'll also receive at least: Resolved, Reopened and Pull Request Sent.

Since you're not on IRC you just missed a brief conversation we had
about it not sending emails lately, it seems Steve had to flush the
queue a couple of times. We'll keep an eye on it and see if we need to
open a ticket.

I had to add you and Emmanuel to the committer group, you where "just"
admins; of course I don't meant to spam you more but hopefully to
reduce the spam to a sweet balance so that you don't have to filter
too aggressively.

I'm not sure about "Pull Request Sent" as it's hopefully a duplicate
of what you would get from github. Let's try and see if it is useful
or excessive info.

Cheers,
Sanne
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] JIRA notification schemas

2013-02-13 Thread Steve Ebersole
Hardy was on IRC yesterday when we dealt with the 661 emails :)

Anyway, Atlassian believe this might be a "known issue" (though they 
gave no pointers to references) and that the current solution is a 
restart.  Our restarts seem to be pretty quick, so any objections to 
having them do the restart now?

On 02/13/2013 09:39 AM, Sanne Grinovero wrote:
> On 13 February 2013 15:31, Hardy Ferentschik  wrote:
>> On 13 Jan 2013, at 4:26 PM, Sanne Grinovero  wrote:
>>
>>> @Hardy I see there is a one-off specific rule to send you an
>>> individual email for any issue creation, I removed that as it
>>> shouldn't be needed anymore?
>> Thanks. I want to keep getting creation emails. Then I can decide what to do.
>> I think the problem recently is that Jira seems to be reluctant to release 
>> emails.
>> Apparently it needs a kick in the behind to do so :-)
> No doubts I want you to receive those :-)
> But now you'll also receive at least: Resolved, Reopened and Pull Request 
> Sent.
>
> Since you're not on IRC you just missed a brief conversation we had
> about it not sending emails lately, it seems Steve had to flush the
> queue a couple of times. We'll keep an eye on it and see if we need to
> open a ticket.
>
> I had to add you and Emmanuel to the committer group, you where "just"
> admins; of course I don't meant to spam you more but hopefully to
> reduce the spam to a sweet balance so that you don't have to filter
> too aggressively.
>
> I'm not sure about "Pull Request Sent" as it's hopefully a duplicate
> of what you would get from github. Let's try and see if it is useful
> or excessive info.
>
> Cheers,
> Sanne
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] JIRA notification schemas

2013-02-13 Thread Sanne Grinovero
Sorry I missed this. you're welcome to restart any time, from my part
at least I'm done for today.

Cheers,
Sanne

On 13 February 2013 17:23, Steve Ebersole  wrote:
> Hardy was on IRC yesterday when we dealt with the 661 emails :)
>
> Anyway, Atlassian believe this might be a "known issue" (though they gave no
> pointers to references) and that the current solution is a restart.  Our
> restarts seem to be pretty quick, so any objections to having them do the
> restart now?
>
> On 02/13/2013 09:39 AM, Sanne Grinovero wrote:
>>
>> On 13 February 2013 15:31, Hardy Ferentschik  wrote:
>>>
>>> On 13 Jan 2013, at 4:26 PM, Sanne Grinovero  wrote:
>>>
 @Hardy I see there is a one-off specific rule to send you an
 individual email for any issue creation, I removed that as it
 shouldn't be needed anymore?
>>>
>>> Thanks. I want to keep getting creation emails. Then I can decide what to
>>> do.
>>> I think the problem recently is that Jira seems to be reluctant to
>>> release emails.
>>> Apparently it needs a kick in the behind to do so :-)
>>
>> No doubts I want you to receive those :-)
>> But now you'll also receive at least: Resolved, Reopened and Pull Request
>> Sent.
>>
>> Since you're not on IRC you just missed a brief conversation we had
>> about it not sending emails lately, it seems Steve had to flush the
>> queue a couple of times. We'll keep an eye on it and see if we need to
>> open a ticket.
>>
>> I had to add you and Emmanuel to the committer group, you where "just"
>> admins; of course I don't meant to spam you more but hopefully to
>> reduce the spam to a sweet balance so that you don't have to filter
>> too aggressively.
>>
>> I'm not sure about "Pull Request Sent" as it's hopefully a duplicate
>> of what you would get from github. Let's try and see if it is useful
>> or excessive info.
>>
>> Cheers,
>> Sanne
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Can't make IRC meeting this week

2013-02-13 Thread Gail Badner
I won't be able to make it to this one either...

- Original Message -
> From: "Steve Ebersole" 
> To: "Hibernate hibernate-dev" 
> Sent: Tuesday, February 12, 2013 7:36:43 AM
> Subject: [hibernate-dev] Can't make IRC meeting this week
> 
> I will not be able to make the IRC meeting this week.  Up to y'all if
> you want to have one still.  If so, please use jbott to capture the
> logs.
> 
> Thanks
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> 
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev