Closed zamuzakki closed 1 month ago
Plugin zip package for the changes in this PR has been successfully built!.
Download the plugin zip file here https://github.com/ConservationInternational/cplus-plugin/suites/24628588146/artifacts/1577179436
@danangmassandy @Samweli I've updated the code to use different variable to store Online task UUID, so Scenario ID from local stays intact.
This is PR for https://github.com/ConservationInternational/cplus-plugin/issues/457
When creating
ScenarioAnalysisTask
,scenario_id
is set to None. Then, on the nex few lines, thescenario_id
inprogress_dialog
is set to match the scenario_id.This causes
progress_dialog
'sscenario_id
to be None. Causing it not detecting the report result once generated.What I did in this PR, is using different variable to store Online task UUID, so Scenario ID from local stays intact.
I've tested for both online and local processing, they both could now show PDF and Layout Manager.
Demo: https://github.com/ConservationInternational/cplus-plugin/assets/7352963/b88fca0c-9baa-4d6a-b1a0-a50e97c25035