Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion OperationVetoedException - when updating an existing document
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Hinett  
View profile  
 More options Jun 9 2012, 6:31 am
From: "Paul Hinett" <p...@ukcreativedesigns.com>
Date: Sat, 9 Jun 2012 11:31:37 +0100
Local: Sat, Jun 9 2012 6:31 am
Subject: RE: [RavenDB] OperationVetoedException - when updating an existing document

It's not doing this locally on dev machine, only on production server with
any save to an existing 'Account' document.

I would do a backup/restore to my local machine to test, but it takes over
24 hours.

From: ravendb@googlegroups.com [mailto:ravendb@googlegroups.com] On Behalf
Of Oren Eini (Ayende Rahien)
Sent: 09 June 2012 11:27
To: ravendb@googlegroups.com
Subject: Re: [RavenDB] OperationVetoedException - when updating an existing
document

Any way to repro?

On Saturday, June 9, 2012, Paul Hinett wrote:

I did this before, that is what caused the issue (I think).

I have updated to build 960 again and I'm running from the debug console,
still getting the same problem.

From: ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');>
[mailto:ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');> ] On Behalf
Of Paul Hinett
Sent: 09 June 2012 00:55
To: ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');>
Subject: RE: [RavenDB] OperationVetoedException - when updating an existing
document

I can reproduce this from the Silverlight management studio too, load up the
document, modify and save it.get the same error.

I have downgraded the server to build 951 just to check if it fixes it, but
it doesn't which is strange.

I'm not 100% sure it was build 951 I was using previously to be quite
honest, but it was around the 24th May i downloaded the latest build I was
using.

This is affecting a large proportion of my site currently when saving any
document related to a user account.

Paul

From: ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');>
[mailto:ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');> ] On Behalf
Of Paul Hinett
Sent: 08 June 2012 23:41
To: ravendb@googlegroups.com
<javascript:_e(%7b%7d,%20'cvml',%20'ravendb@googlegroups.com');>
Subject: [RavenDB] OperationVetoedException - when updating an existing
document

Hi,

Just upgraded to build 960 stable from 951, both client, server and bundles.

On a simple procedure of loading an existing document by id, updating 1
property (a DateTimeOffset property) I am getting an exception from the
UniqueConstraint bundle.

I can't seem to reproduce this locally on my dev machine but only on my
production server.

var account = _documentSession.Load<Account>(command.AccountId);

account.LastNotificationReadDate = DateTimeOffset.Now;

Raven.Database.Exceptions.OperationVetoedException: PUT vetoed by
Raven.Bundles.UniqueConstraints.UniqueConstraintsPutTrigger because: Ensure
unique constraint violated for fields: ArtistName, EMail

Has anything changed that could cause this, it was working fine before the
upgrade to latest stable.

Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.