Comments (3)
Hi David,
I will also try to solve this one if you agree.
from bugnet.
I did some investigation and the issue only occurs if the field value is actually used in an issue. The delete action results into a call to the storedproc BugNet_ProjectCustomFieldSelection_DeleteCustomFieldSelection which does the following:
DECLARE
@CustomFieldId INT
SET @CustomFieldId = (SELECT TOP 1 CustomFieldId
FROM BugNet_ProjectCustomFieldSelections
WHERE CustomFieldSelectionId = @CustomFieldSelectionIdToDelete)
BEGIN TRAN
UPDATE BugNet_ProjectCustomFieldValues
SET CustomFieldValue = NULL
WHERE CustomFieldId = @CustomFieldId
DELETE
FROM BugNet_ProjectCustomFieldSelections
WHERE CustomFieldSelectionId = @CustomFieldSelectionIdToDelete
COMMIT TRAN
The first part of setting the CustomFieldValue to NULL fails as the column cannot have a null value.
@dubeaud Do you know what the intended behavior is of this stored proc?
from bugnet.
The idea was to set all values to null for that custom field then delete it. The custom field value field should allow nulls and looks to be a bug.
from bugnet.
Related Issues (20)
- Admin functions not working
- Design issue in the user administration section HOT 1
- gmails are not working in BugNet HOT 1
- Interface needs more restrictions
- Accessing SVN repository error HOT 1
- Logo alignment is not right HOT 3
- Text inside Login help box does not update when logged in HOT 1
- Welcome message should update after successful login
- Remove additional leading ">" in homepage HOT 1
- Cannot create user - Stored Procedure BugNet_UserCustomField_GetCustomFields missing HOT 10
- Back button on Project Wizard Step 1 HOT 1
- Many missing stored procs,tables,and code changes in the build that is available for use HOT 2
- Where do I find Bugnet Pro? HOT 1
- Is the project alive? HOT 13
- Which repository is the latest version, Github or CodePlex?
- look&feel bugnet version 1.5 vs 1.6 HOT 1
- Validation of viewstate MAC failed
- How Can I edite in html code
- The function of Utilities.CheckUploadPath has problem
- Opening a issue redirects to login page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugnet.