Details
-
Bug
-
Resolution: Done
-
P2: Important
-
QSR 1.2
-
None
-
I05c52f2e20faf416155ed650b50442c7a9d98404
Description
It seems that safe item id and object names must be identical.
In case states are defined in the root level, there will be issues if those are not identical.
And the indicators example has different id and objectname for the safetext.
If those are different, then unhandled exception is thrown.
The exception is originated in <Src>\QtSafeRenderer-1.2.0\src\saferenderer\qsafelayout.cpp
const LayoutData &QSafeLayout::getLayoutItem(const quint32 id) const { bool found = false; quint32 indexValue = 0U; if (m_state == OK) { for (quint32 i=0U;i<m_count;i++) { if (m_items[i].id() == id) { indexValue = i; found = true; break; } } } if (!found) { throw UnknownItem; } return (m_items[indexValue]); }
Attachments
Issue Links
- relates to
-
QSR-1311 Tooling generates animation with the wrong target id
- Closed
For Gerrit Dashboard: QSR-1139 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
334983,3 | Add a new constraint for objectName and id properties | 1.2 | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |