Closed (fixed)
Project:
Storm
Version:
7.x-1.x-dev
Component:
Storm Team
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2012 at 16:06 UTC
Updated:
12 Dec 2012 at 22:40 UTC
Jump to comment: Most recent file
Notice: Undefined property: stdClass::$teaser in stormteam_list() (line 606 of /srv/bindings/8db7e47a01064d9a9a1eac5218b9b05c/code/sites/all/modules/storm/stormteam/stormteam.module).
This is because the body field is now a field in Drupal.
| Comment | File | Size | Author |
|---|---|---|---|
| #27 | stormteam-viewslistmenuentry-1844048-comment27.patch | 768 bytes | esoteric1 |
| #7 | storm-team-list-views-6.patch | 14.77 KB | juliangb |
| #5 | storm-team-list-views-3.patch | 7.86 KB | juliangb |
| #3 | storm-team-list-views-2.patch | 7.86 KB | juliangb |
| #1 | storm-team-list-views.patch | 7.39 KB | juliangb |
Comments
Comment #1
juliangb commentedI realised that we're going to run round in circles porting fairly custom code for the lists, when we could just go straight into views.
I fully expect that there will be some refinement of this, but it will save a lot of time to go straight into views now.
Comment #3
juliangb commentedLooks like the test also now needs to enable the views module.
Comment #5
juliangb commentedNot sure why it is still failing - but this patch includes the new default view (forgot to git add).
Comment #7
juliangb commentedGetting the patch right this time I hope.
Comment #9
esoteric1 commented#7: storm-team-list-views-6.patch queued for re-testing.
Comment #11
esoteric1 commentedWhen I downloaded the patch, applied it and ran it through the drupal testing on my dev installation there were 326 tests run but on this site there are 320 run. is there a reason for the difference?
Comment #12
juliangb commentedThe difference is probably the ones that have failed here.
Not sure why they have failed at the moment, but we should ensure that they pass before committing the patch so that we keep building up the suite of automated tests.
Comment #13
juliangb commented#7: storm-team-list-views-6.patch queued for re-testing.
Comment #15
juliangb commentedI've created a support request in the testbot queue, as I think this is a case of needing a specific procedure for the testbot to recognise the dependency.
#1844686: Test failure on new dependency.
Comment #16
esoteric1 commentedDoes the views integration work atm? should I go through the other modules and put similar fixes?
Comment #17
juliangb commentedYes, that'd be useful - thanks!
Comment #18
esoteric1 commentedIf you make comments in the code you write from now on, I don't mind going through and applying through the changes to the other modules and writing the patches. It's a sort of learning thing for me, and since I am a new developer it helps a great deal to have those comments. I'll get started today and work on it tomorrow as well.
Comment #19
esoteric1 commentedAlso want to confirm that its the storm-patch6 that i should be using as a reference?
Comment #20
juliangb commentedThe easiest method is actually to build the view with the views ui, then to export, with the lines at top and bottom as per the default view file.
It means that the writing of the code becomes fairly minimal.
I'm still following up to get drupal.org to pass the tests again.
Comment #21
juliangb commented#7: storm-team-list-views-6.patch queued for re-testing.
Comment #22
juliangb commentedBranch tests now pass with views in, so *fingers crossed* nothing to stop this from passing.
Comment #23
juliangb commentedTests passed - just pushed this into git.
Comment #24
esoteric1 commentedI no longer see the teams submenu in the navigation menu after this change. Is this intended?
Comment #25
juliangb commentedHmm, yes I see what you mean.
Thinking about it, I'm actually pro getting rid of the links as it is easy for the site owner to do this - but it is something we should decide on one way or the other rather than it just happening.
Comment #26
esoteric1 commentedI think you can just specify a normal menu entry in the views configuration and then people can remove it from there if they want. I believe that would make sense?
Comment #27
esoteric1 commentedmade a small patch to add the menu entry through the view for stormteam.
Comment #28
juliangb commentedNot time to do much tonight, but have committed #27. Thanks @esoteric1.