| Summary: | Make Koha::Object->discard_changes available | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | josef.moravec, kyle |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | |||
| Bug Blocks: | 17579, 38273 | ||
| Attachments: |
Bug 17594: Make Koha::Object->discard_changes available
Bug 17594: Make Koha::Object->discard_changes available [SIGNED-OFF] Bug 17594: Make Koha::Object->discard_changes available Bug 17594: Make Koha::Object->discard_changes available |
||
|
Description
Jonathan Druart
2016-11-09 13:20:05 UTC
Created attachment 57385 [details] [review] Bug 17594: Make Koha::Object->discard_changes available We need this new method to refresh an object after it has been updated. Test plan: prove t/db_dependent/Koha/Object.t should return green I am sorry: t/db_dependent/Koha/Object.t .. 2/7 Bareword "dt_from_string" not allowed while "strict subs" in use at t/db_dependent/Koha/Object.t line 97. Execution of t/db_dependent/Koha/Object.t aborted due to compilation errors. Created attachment 57484 [details] [review] Bug 17594: Make Koha::Object->discard_changes available We need this new method to refresh an object after it has been updated. Test plan: prove t/db_dependent/Koha/Object.t should return green Created attachment 57485 [details] [review] [SIGNED-OFF] Bug 17594: Make Koha::Object->discard_changes available We need this new method to refresh an object after it has been updated. Test plan: prove t/db_dependent/Koha/Object.t should return green Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Created attachment 57496 [details] [review] Bug 17594: Make Koha::Object->discard_changes available We need this new method to refresh an object after it has been updated. Test plan: prove t/db_dependent/Koha/Object.t should return green Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master for 16.11, thanks Jonathan! |