Dueling presets

Zaid Abdulla zaid at genieacs.com
Thu Jul 2 18:49:09 EDT 2015


On Tue, Jun 30, 2015, at 10:16 PM, Zaid Abdulla wrote:
> On Tue, Jun 30, 2015, at 07:42 PM, Dan Morphis wrote:
>> I created an object named "Disable_WLAN" and added that to the CPE
>> specific preset (that has a higher weight than the base config
>> preset) and I"m happy to report that this fixes my issue!
>
> Great, but a word of warning though: Due to a bug, using objects with
> more than one key (or no key) parameter may yield unexpected behavior.
> This is because the function getObjectHash (in presets.coffee) isn't
> implemented in a way that ignores key parameter ordering in object
> definitions. I'll get to fixing that very soon, but pull requests are
> always welcome.

Just pushed a fix for this to v1.0 branch.

Zaid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150703/8f407349/attachment.html>


More information about the Users mailing list