Summary: | ASTERISK-23803: AMI action UpdateConfig EmptyCat clears all categories but the requested one | ||
Reporter: | zvision (zvision) | Labels: | |
Date Opened: | 2014-05-29 02:51:04 | Date Closed: | 2014-05-30 06:52:55 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/Configuration Core/ManagerInterface |
Versions: | 11.10.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ( 0) manager.c.diff | |
Description: | When invoking UpdateConfig AMI action with Action set to EmptyCat, the manager make all categories empty in the config but the one requested with a Cat variable. This is due to a bug in ast_category_empty (main/config.c) that makes incorrect comparison for a category name. | ||
Comments: | By: zvision (zvision) 2014-05-29 02:51:50.719-0500 Comparison for category name corrected By: zvision (zvision) 2014-05-29 02:56:26.606-0500 Review board link https://reviewboard.asterisk.org/r/3573/ By: Matt Jordan (mjordan) 2014-05-29 07:22:37.154-0500 Ouch. What a missing {{\!}} will do. Thanks for the patch! |