djaodjin / djaopsp

Practices Survey Platform - Assess against best practices assessment and improvement planning
BSD 2-Clause "Simplified" License
3 stars 6 forks source link

Issues related to Campaigns. #438

Open Deep-Chill opened 5 months ago

Deep-Chill commented 5 months ago
  1. http://127.0.0.1:8000/djaopsp/app/alliance/assess/7e444029f6e34bfbb2f140248b6b4fd0/sustainability/ Upon opening the URL from http://127.0.0.1:8000/djaopsp/app/alliance/getstarted/ > Update it shows all 4 tiles as expected: Screenshot_5 but once I click "Planning" it switches to only show Production: Screenshot_6 Going back to Assess shows Production now instead of the other 4: Screenshot_7 And the scorecard is also showing Construction: Screenshot_8 However, whenever I go back to the URL http://127.0.0.1:8000/djaopsp/app/alliance/getstarted/ > Update it shows all 4 tiles as expected again. And this issue doesn't occur on the Cybersecurity framework.

  2. Clicking Metric Tons COe2 clears all data and doesn’t show metric tons coe2 as the selected choice in assess/data&metrics. Probably some Vue issue.

  3. http://127.0.0.1:8000/djaopsp/app/djaopsp/campaigns/sustainability/ NoReverseMatch at /djaopsp/app/djaopsp/campaigns/sustainability/ Reverse for 'pages_api_aliasnode' with arguments '(, '')' not found. 1 pattern(s) tried: ['djaopsp/api/editables/(?P[-a-zA-Z0-9]+)/content/alias/(?P.+)\Z']

  4. OperationalError at /djaopsp/api/energy-utility/reporting/sustainability/engagement no such column: djaopsp_account.picture URL: http://127.0.0.1:8000/djaopsp/api/energy-utility/reporting/sustainability/engagement PortfolioEngagementAPIView Uses this serializer: EngagementSerializer And the serializer inherits from AccountSerializer which has a picture field, while the djaopsp account doesn't have one.

  5. pip install -r requirements.txt was causing an issue because of docutils==0.20.1 and docutils==0.18.1 both being in it. Commenting out docutils==0.20.1 fixed it.
smirolo commented 5 months ago

(1) is describing how the product is intended to work. There are one required segment and multiple optional practices segments used for planning.