Closed (fixed)
Project:
Drupal PM (Project Management)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Nov 2012 at 23:30 UTC
Updated:
18 Jun 2014 at 09:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
juliangb commentedCurrently working on this (and also fixes the fact that content type isn't shown in list).
Comment #2
juliangb commentedHere's a patch that goes some way to fixing this.
Only todo I can think of is that there are some aspects of the tasks dropdown that need migrating, so there is an error on changing the project dropdown (loading new tasks).
Comment #3
esoteric1 commentedI tried to have a look at this but I get errors and WSOD. Specifically, when I try to access the notes list without having created a note, i get a WSOD. When I access the node add page, there is no task I can assign it to. One thing I noticed is that when I try to create a storm task, I cannot assign it to anyone, the select box is empty. This despite having created an organization, person, team etc... I am wondering if perhaps the bug in storm task may be affecting what is happening in stormnote?
Comment #4
juliangb commentedReroll of patch, and decided to tackle changes required in stormtask in a separate patch.
Comment #5
juliangb commentedPatch comments out another call to stormtask.
Comment #6
juliangb commentedPushed this into git.
Comment #7
brayo4 commentedWhen trying to add a note, i get this :
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in xxxxx/sites/all/modules/storm/stormnote/stormnote.module on line 419 and defined in db_query() (line 2313 of xxxxx/includes/database/database.inc).
Comment #8
juliangb commentedNeed to work on this bit a bit more...
Comment #9
juliangb commentedPatch to port the database queries on saving.
Comment #10
juliangb commentedUpdated patch porting a few other bits.
Comment #11
juliangb commentedUpdated patch - also fixes up some of the functionality on insert/view.
Comment #12
brayo4 commentedthx
Comment #13
juliangb commentedAttached patch now shows without errors.
Still having trouble with the node view - the hooks have changed meaning that the way that we previously did this in Storm doesn't work anymore.
Currently this shows without triggering the view theme function, and hence doesn't show the Storm fields.
Any ideas?
Comment #14
kfritscheWhat has changed there?
After the documentation of hook_view it does the same, as the hook_view in D6.
The problem I think is in the theme function itself. In D7 the default form type is markup and then the '#value' has to be changed into '#markup'.
Comment #15
francewhoaAdd Storm Note returns error. Steps to reproduce:
1. Go to /storm#overlay=node/add/stormnote
2. Drupal returns the following error message. Find attached screenshot "note-add.png" to clarify.
Using
* Patch in comment 13
* Fresh Drupal 7.18
* Storm 7.x-1.x-dev 2012-Dec-24
* Views 7.x-3.5
* CTool 7.x-1.2
Comment #16
francewhoaNotes fields are not display. Steps to reproduce:
1. Go to /storm/notes
2. The node title is display but all other fields are not display. Find attached screenshot "note-display.png" to clarify.
Using same as comment 15
Comment #17
francewhoa"Organization" field is not populated. Steps to reproduce:
1. Go to /storm#overlay=node/add/stormnote
2. Under "Organization" click on "Select". Organization(s) are not display. Find attached screenshot "organization.png" to clarify.
Using same as comment 15
Comment #18
juliangb commentedThanks for testing!
Marking this "needs work".
Comment #19
francewhoaThanks juliangb :) I forgot, I should have set to "needs work"
Comment #20
juliangb commentedThe attached patch should *fingers crossed* fix the errors viewing the note.
The organization_nid error that you're seeing is, I think, because you don't have any organizations in your test installation - I'll test the latest changes and then make sure that doesn't error.
Comment #21
juliangb commentedAnd @Francewhoa - to clarify, in #17, had you created an organization before this test?
Comment #23
juliangb commentedFixed a stray bracket.
Comment #24
juliangb commentedI've committed #23 - I know there are a couple of bugs remaining (such as the $organization_nid warnings) but it will be easiest to work these out with the main patch committed.
Comment #25
francewhoajuliangb, thx for asking. Yup I created one organization before this test.
Comment #26
juliangb commentedMoving to pm.
Comment #27
juliangb commentedAttached patch fixes the last bug in this I think (organization_nid errors).
Comment #28
juliangb commentedRedo patch.
Comment #29
juliangb commentedCommitted.
Comment #30
francewhoajuliangb, thanks :) Confirming patch in #28 works.