Select box for 'Organization' empty when creating projects, tasks.. shown when creating person. Tested on latest stable and dev versions. Using the most current drupal 6 installation. Tried flushing all caches, still the same. I am attaching the list of my modules.
Any help is completely appreciated :) thank you!
p.s. Storm Rocks!
Comments
Comment #1
marcin-mark commentedComment #2
juliangb commentedAre organisations listed as customers, and active?
Comment #3
phasmaphobic commentedI'm having the same issue. I have multiple organizations, but the only ones I can select for Projects are Customers. I'm not sure why this restriction is set. I don't recall the Project module's description implying it was limited to customers. I'm trying to use this module to create projects within parent organizations, such as "Tech Dept" and "Support Dept" and "Dev Dept," which aren't customer-specific.
Comment #4
juliangb commentedNote that there is 1 or more previous issue(s) relating to this - can´t find them at the moment but perhaps someone could post links if found.
The customer restriction has previously been treated as ´by design´, but perhaps we should reconsider.
Comment #5
rjgoldsborough commentedHey all. I'm using Storm and am experiencing the same error. When trying to create any content but "Person", the organization select list is not usable. I'm attempting to take a closer look, but was just curious if anyone found out anymore info? Thanks.
***Edit***
After looking through code, it does look like this is by design. There is an SQL query in the sub-modules that retrieve the data to populate that select with organizations. In all of them but "Person", there is some SQL that filters only the customer organizations.
While rethinking the way Storm works, it made sense that you probably wouldn't put the provider organization on every project, but I could see reasons where you might want to, and some people may just want to all the time.
I haven't found any repercussions yet, but will report back if I do. Also, this seems like it could be done for any of the sub-modules you need.
Comment #6
juliangb commentedSounds like this needs to change.
Comment #7
rjgoldsborough commentedHi Julian, I'd be happy to try and roll a patch to remove the customer filter.
Comment #8
juliangb commentedThanks, feel free.
Comment #9
rjgoldsborough commentedOk, so here are patches for the project and task sub modules. The rest to follow. Afaict, the filtering on the sql query just needed to be removed. I've been using Storm with these changes and haven't seemed to find any drawbacks.
Comment #10
rjgoldsborough commentedTickets, Expenses, Invoice, Notes, and Timetracking patches
Comment #11
juliangb commentedCNR so that the test bot looks at the patches.
Comment #13
juliangb commentedNeeds to be patched from the root of the Storm directory for tests to pass.
That way, all patches can also be included in one...
Comment #14
rjgoldsborough commentedI had tried from the module root, but the patch wouldn't apply for some reason. I'll give it another go.
Comment #15
rjgoldsborough commentedOk, I think this one should do it.
Comment #16
juliangb commentedPasses test bot
Seems good from a read through from me.
Can someone else confirm this makes the change as expected?
Comment #17
juliangb commentedComment #18
juliangb commented#15: storm_customer_filter_removal.patch queued for re-testing.
Ensuring patch still applies.
Comment #19
juliangb commentedCommitted to 2.x.
Will not be backported to 1.x.