<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15837">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Added flag UniqueConnection to some D-Bus signal connections, and some logs.<br />
Removed duplicated property 'logText' in mount interface.<br />
Fixed syntax error in dome XML interface.</p>
<p>The introspection mechanism is using the source XML interface descriptions to generate a MOC object.<br />
When there is a syntax error in a XML description, the build stops extracting entry points from the description and DOES NOT produce any error.<br />
This leads to an incomplete D-Bus interface, with missing properties/calls/signals (the ones after the syntax error).<br />
The problem is that no connect() call has its return code checked nowhere in the code, so probably an encapsulation of this call would be a good idea.<br />
On the other hand, we could make the build fail in such situation, but I don't know how to manage this yet.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Load Scheduler test vector 'simple_test_no_twilight.esl', ensure a Dome is in the INDI profile.<br />
Uncheck "Unpark dome", start the Scheduler. Observe as jobs start executing.<br />
Before the end of the schedule, stop the Scheduler, check "Unpark dome", restart the Scheduler.<br />
Without the change, Scheduler hangs for 30 seconds waiting for the dome, disconnects INDI/Ekos, restarts, etc, until failing and stopping.<br />
With the change, Scheduler waits for the dome to unpark and continues the schedule.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__dome_interface_fix (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15837">https://phabricator.kde.org/D15837</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/mount/mount.h<br />
kstars/ekos/scheduler/scheduler.cpp<br />
kstars/org.kde.kstars.Ekos.Dome.xml</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>