Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016192
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminoralways2011-03-10 09:102011-04-06 17:00
ReportermalsasuaView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version2.50MP29
StatusclosedFix in branchFixed in SCM revision7f853bd7be35
ProjectionnoneETAnoneTarget Version2.50MP28
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP27SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016192: the system allows create two periods with a same date

DescriptionYou can create two periods that they are overlap.
One date, could be included in two periods distinct.
If you try post a document in this date, error is returned
Steps To Reproduce. modify the period Jan 11
end date: 15/02/2011

From 01/02/2011 to 15/02/2011, this dates are included in two periods:
Jan 11 and Feb 11
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0016595 closedadrianromero the system allows create two periods with a same date 
related to defect 00203363.0MP12 closedjecharri Should not be possible to create several periods for same date range in different years 

-  Notes
(0035425)
adrianromero (manager)
2011-03-31 14:14

Fix done and tested. Pending for the repository to be unfrozen.
(0035455)
hgbot (developer)
2011-04-01 12:33

Repository: erp/stable/2.50
Changeset: 7f853bd7be356e9c8497c7d423faec1ea570801c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Mar 31 14:05:03 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/7f853bd7be356e9c8497c7d423faec1ea570801c [^]

Fixes issue 0016192: the system allows create two periods with a same date
It has been added in the trigger of the C_PERIOD table the verification of overlapping periods. It has been modified also the process that creates periods to not to collide with the new trigger conditino

---
M src-db/database/model/functions/C_YEARPERIODS.xml
M src-db/database/model/triggers/C_PERIOD_TRG2.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0035665)
malsasua (developer)
2011-04-06 17:00

tested: the period cannot be created with days in other period in the same year. it works fine

- Issue History
Date Modified Username Field Change
2011-03-10 09:10 malsasua New Issue
2011-03-10 09:10 malsasua Assigned To => dalsasua
2011-03-10 09:10 malsasua Modules => Core
2011-03-10 10:58 malsasua Issue Monitored: malsasua
2011-03-10 10:58 malsasua Issue Monitored: networkb
2011-03-10 10:58 malsasua Issue End Monitor: malsasua
2011-03-10 17:43 malsasua Target Version 2.50MP29 => 2.50MP28
2011-03-31 14:02 adrianromero Status new => scheduled
2011-03-31 14:02 adrianromero Type defect => backport
2011-03-31 14:03 adrianromero Issue cloned 0016595
2011-03-31 14:03 adrianromero Relationship added depends on 0016595
2011-03-31 14:03 adrianromero Assigned To dalsasua => adrianromero
2011-03-31 14:14 adrianromero Note Added: 0035425
2011-04-01 12:33 hgbot Checkin
2011-04-01 12:33 hgbot Note Added: 0035455
2011-04-01 12:33 hgbot Status scheduled => resolved
2011-04-01 12:33 hgbot Resolution open => fixed
2011-04-01 12:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/7f853bd7be356e9c8497c7d423faec1ea570801c [^]
2011-04-06 17:00 malsasua Note Added: 0035665
2011-04-06 17:00 malsasua Status resolved => closed
2011-04-06 17:00 malsasua Fixed in Version => 2.50MP29
2012-04-24 16:18 maite Relationship added related to 0020336


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker