Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

User contribution: project data of newly registered tree not displayed #2236

Closed
norbertschuler opened this issue Apr 24, 2020 · 3 comments
Closed
Labels
backend Fix needed from backend bug Something isn't working

Comments

@norbertschuler
Copy link
Collaborator

Describe the bug
When you register a new tree or multiple trees for a TPO the related project is not shown if you look at the user contribution details - you have to reload the app in order to see the data being displayed:

Simulator Screen Shot - iPhone 11 - 2020-04-24 at 17 55 33

Is it on a Production or Development Build?
develop

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Me' screen
  2. Register a new tree for as a TPO
  3. Open the new user contribution to view the details
  4. See error

Smartphone (please complete the following information):

  • Device: iPhoneX simulator
  • OS: 13.4.x
  • Plant-for-the-Planet App Version 1.3.2
@norbertschuler
Copy link
Collaborator Author

norbertschuler commented Apr 27, 2020

This probably happens as in the result of the API call PUT https://development.trilliontreecampaign.org/api/v1.3/en/plantContributions/single-tree
we are not getting planProjectId in the merge object:

image

@jmiridis can you help us here? Maybe the backend should return planProjectId?

@jmiridis
Copy link
Collaborator

I have added it to development system. Please confirm.

@norbertschuler
Copy link
Collaborator Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend Fix needed from backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants