View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001681 | v3.4 Release (Current) | Projects | public | 2015-11-04 05:23 | 2019-01-03 12:53 | ||||
Reporter | delienf | ||||||||
Assigned To | caseydk | ||||||||
Priority | high | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001681: Custom fields lost when updating project status(es) from "Update Projects Statuses" button | ||||||||
Description | Custom field contents related to projects are not retained when one or more projects get their status updated with the Update button at the bottom of the project list. | ||||||||
Steps To Reproduce | Select projects to receive status update, select status, push the button: custom fields are gone ... | ||||||||
Additional Information | we run through this sequence: $project = new CProject(); $project->load($project_id); $project->project_status = $status_id; foreach ($project->getContactList() as $contact_data){ $project->project_contacts[]=$contact_data['contact_id']; } foreach ($project->getDepartmentList() as $department_data){ $project->project_departments[]=$department_data['dept_id']; } $project->store(); it seems that $project->load($project_id); followed by some changes to $project and $project->store(); looses the custom fields, which is indeed a serious bug. Klaus | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
caseydk (administrator) 2016-12-30 23:53 |
Resolved: https://github.com/web2project/web2project/commit/125b10e1daa6cbcfb1dde828fdd2587401e98a80 |
caseydk (administrator) 2019-01-03 12:53 |
In the 31 Dec 2018 release: http://docs.web2project.net/release-notes/3.4.html |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-11-04 05:23 | delienf | New Issue | |
2015-11-04 05:23 | delienf | File Added: 2015-11-04 14_22_41-web2Project __ projects index.png | |
2016-01-19 05:13 | opto | Severity | major => block |
2016-01-19 05:13 | opto | Additional Information Updated | View Revisions |
2016-12-26 10:43 | caseydk | Project | v3.3 Release => v3.4 Release (Current) |
2016-12-29 23:51 | caseydk | Assigned To | => caseydk |
2016-12-29 23:51 | caseydk | Status | new => assigned |
2016-12-30 23:53 | caseydk | Status | assigned => resolved |
2016-12-30 23:53 | caseydk | Resolution | open => fixed |
2016-12-30 23:53 | caseydk | Note Added: 0003864 | |
2019-01-03 12:53 | caseydk | Note Added: 0003949 | |
2019-01-03 12:53 | caseydk | Status | resolved => closed |