Community discussions

MUM Europe 2020
 
skermode
just joined
Topic Author
Posts: 11
Joined: Thu May 21, 2009 9:17 pm

3.27 bug

Mon Jul 20, 2009 6:57 pm

API bug-

Commands: /ip/hotspot/user/getall or /ip/hotspot/user/print
do not return the "comment" property. Most other "getall" commands (ex. /ip/address/getall) return the property. I know in version 3.25 (or was it 3.24) the comment field was removed from all getalls, and it's nice to see that restored in 3.26+. Can you please add the comment property to hotspot-user getall requests?

I'm going to keep looking for other "missing" fields, so far, this is one of the important ones I noticed in my version testing.

Thanks,
Scott
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5950
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: 3.27 bug

Tue Jul 21, 2009 10:01 am

This bug will be fixed in next version.
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: 3.27 bug

Tue Jul 21, 2009 10:30 pm

Where can I get clear and concise information of exactly what changes in API? I've been looking into using it with PHP, but keep hearing API changing rapidly. Do changelogs list every API change?
Doug
 
skermode
just joined
Topic Author
Posts: 11
Joined: Thu May 21, 2009 9:17 pm

Re: 3.27 bug

Tue Jul 21, 2009 11:03 pm

From my experience, I have yet to find such a link or document.
Would someone please be able to provide that?

Much obliged,
Scott
 
skermode
just joined
Topic Author
Posts: 11
Joined: Thu May 21, 2009 9:17 pm

Re: 3.27 bug

Tue Jul 21, 2009 11:11 pm

http://www.mikrotik.com/download/CHANGELOG_3 (found in google search: routeros changelog)

Based on this link, it looks like not all changes are reported. I remember the comment field being removed from "print/getall" commands in 3.24 (from 3.23) and it was not documented in the changelog. I guess some things slip through their notes.

I agree it would be nice for an API-dedicated log, hopefully more than just the two of us would benefit!

Regards,
Scott
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5950
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: 3.27 bug

Wed Jul 22, 2009 9:56 am

Comments were not removed intentionally. it was a bug and was fixed in next version.
 
skermode
just joined
Topic Author
Posts: 11
Joined: Thu May 21, 2009 9:17 pm

Re: 3.27 bug

Wed Jul 22, 2009 4:14 pm

Sounds fair to me! Thanks, mrz, for your timely responses.

Regards,
Scott
 
skermode
just joined
Topic Author
Posts: 11
Joined: Thu May 21, 2009 9:17 pm

Re: 3.27 bug

Fri Jul 31, 2009 9:23 pm

Found another thing in 3.27 and was wondering if this is a bug or not:
/ip/route/getall

If a comment exists, the "commen=my comment" field exists in the return. If no comment exists, the field is omitted completely. In other getalls, the return would be "comment=" and then the next field or end-of-line would occur. Is this intended?

Thanks!
Scott
 
User avatar
astounding
Member Candidate
Member Candidate
Posts: 121
Joined: Tue Dec 16, 2008 12:17 am

Re: 3.27 bug

Mon Aug 17, 2009 8:19 pm

3.28 fixes missing comments for /interface/wireless/access-list/getall (and print) as well as for /ip/dhcp-server/lease/getall (and print) -- I've verified this on my APs running 3.28 using the API. A quick test shows that /ip/route/getall includes comments in 3.28 as well.

Thanks for the fix!

Who is online

Users browsing this forum: MSN [Bot] and 108 guests