From server-dev-return-59665-apmail-james-server-dev-archive=james.apache.org@james.apache.org Thu Jun 23 10:34:16 2016 Return-Path: X-Original-To: apmail-james-server-dev-archive@www.apache.org Delivered-To: apmail-james-server-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBA6218183 for ; Thu, 23 Jun 2016 10:34:16 +0000 (UTC) Received: (qmail 40131 invoked by uid 500); 23 Jun 2016 10:34:16 -0000 Delivered-To: apmail-james-server-dev-archive@james.apache.org Received: (qmail 40095 invoked by uid 500); 23 Jun 2016 10:34:16 -0000 Mailing-List: contact server-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Developers List" Reply-To: "James Developers List" Delivered-To: mailing list server-dev@james.apache.org Received: (qmail 39915 invoked by uid 99); 23 Jun 2016 10:34:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 10:34:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 30DFF2C1F61 for ; Thu, 23 Jun 2016 10:34:16 +0000 (UTC) Date: Thu, 23 Jun 2016 10:34:16 +0000 (UTC) From: "Tellier Benoit (JIRA)" To: server-dev@james.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JAMES-1778) VacationResponse in getVacationResponse should be disabled if out of the date range MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tellier Benoit created JAMES-1778: ------------------------------------- Summary: VacationResponse in getVacationResponse should be disabled if out of the date range Key: JAMES-1778 URL: https://issues.apache.org/jira/browse/JAMES-1778 Project: James Server Issue Type: Bug Components: JMAP Affects Versions: master Reporter: Tellier Benoit Assignee: Antoine Duprat Fix For: master We can simply uncouple the db field activate from the one in the Vacation response So you will have exactly the behaviour you describe, but without any mutation on the storage We can do this in the conversion Vacation (stored object) into VacationResponse (JMAP dto) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.org