[Tango-cs-bug-info] [tango-cs:bugs] #822 Swapped origin and desc in some versions of Tango::Except::throw_exception.

0 views
Skip to first unread message

tango-cs...@lists.sourceforge.net

unread,
Oct 19, 2016, 11:41:18 AM10/19/16
to Tango-cs...@lists.sf.net

[bugs:#822] Swapped origin and desc in some versions of Tango::Except::throw_exception.

Status: open
Created: Wed Oct 19, 2016 03:40 PM UTC by Josef Cibulka
Last Updated: Wed Oct 19, 2016 03:40 PM UTC
Owner: nobody

In except.h, origin and desc are sometimes swapped when being copied to the DevErrorList entry. For example, lines 490-491 are
errors[0].origin = CORBA::string_dup(desc);
errors[0].desc = CORBA::string_dup(origin.c_str());
The same occurs also on lines 697, 844, 1262, 1406, 1481 and 1636.

Regards,
Josef


Sent from sourceforge.net because Tango-cs...@lists.sf.net is subscribed to https://sourceforge.net/p/tango-cs/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tango-cs/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

message-footer.txt

tango-cs...@lists.sourceforge.net

unread,
Oct 27, 2016, 10:35:48 AM10/27/16
to Tango-cs...@lists.sf.net

Fixed in SVN. Pull Request created on Github: https://github.com/tango-controls/cppTango/pull/305

message-footer.txt
Reply all
Reply to author
Forward
0 new messages