Call to a member function getSubtype() on null in PropagateProperties
Able to recreate on editing a newsfeed post
added Product::Platform Sprint::09/25 - Oldfashioned Owl Squad::Blue Type::Bug scoped labels
changed weight to 1
added Status::InProgress scoped label
added 4h of time spent at 2019-09-30
mentioned in merge request !348 (merged)
added Status::Review scoped label and automatically removed Status::InProgress label
- Developer
@xander-miller Steps to recreate:
- View live logs in terminal
kubectl logs fix-904-propagate-bug-minds-app-685b867b8d-8p7rn minds-nginx -f
- Vist the review site
- Create an activity post
- Edit that activity post
- Message
Call to a member function getSubtype() on null
is emitted in the log output
- View live logs in terminal
- Developer
General operation of this functionality can be verified by e.g. creating a blog post, verifying an activity for that blog post exists in the newsfeed, going back to the blog post and editing the title and start of the body text, switching back to newsfeed should show the changes have propagated to the newsfeed.
- Developer
Spec test would be difficult at best, possibly impossible to cover this specific error because of the way the objects are mocked, phpspec tests tend to test a specific object's functionality and how it interacts with mock objects, not how it interacts with actual concrete objects.
- Developer
Thanks for the quick and detailed response Guy I'm still getting use to my duties and what I should be looking for. This really helps.
closed via merge request !348 (merged)
mentioned in commit 4f21baaa