Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The aim is to get the port to D7 completed so that a stable Storm release for D7 will be ready by the time that the Drupal 7 core release is made (D7CX)
Comments
Comment #1
homoludens CreditAttribution: homoludens commentedI was looking for source od D7CX tag, and what it exactly means :). Here it is: http://cyrve.com/d7cx (if someone else wants to know).
And I would like to help you in this effort, it is very important step (or better: leap :) ).
Comment #2
Magnity CreditAttribution: Magnity commentedOK - I have tagged HEAD as being the 7.x development release. Therefore, there is something to patch against.
Notes:
- I have not done any code changes at all so far - therefore it will not even install on a D7 system atm.
- HEAD was an old version of Storm - i'm not sure from when. Therefore, it won't be totally up to date on changes. I'm not sure when the branch happened even so I'm not sure when its from. When patching, please specify whether it is a patch from the D6 development release or from HEAD (D7 dev release). It may be easier to do it from the D6 one for now.
Code freeze isn't until Sept 1st, so i don't feel overly rushed to get patches in until then - but from that point it'd be good to really push on so that we can get a stable version out for D7 release.
Lets use this issue to record overall progress and separate issues for specific steps / patches / bugs / issues etc.
Thanks.
Comment #3
Magnity CreditAttribution: Magnity commentedProgress with port to D7:
- Storm dashboard displays ok
- Most permissions changed over.
- Bug with adding nodes when Storm core is enabled
- Need to redo list pages. Currently just showing simply "Array" plus errors.
Comment #4
VladSavitsky CreditAttribution: VladSavitsky commentedI have installed Drupal 7.x-dev (night build 04.12.2009) and storm-7.x-1.x-dev
Every storm's page has an errors...
What versions should be used to see features of storm?
Thanks for greate module.
Comment #5
Magnity CreditAttribution: Magnity commentedThe port to D7 is still in progress.
If you're looking to test out Storm, then try the D6 version.
Comment #6
Magnity CreditAttribution: Magnity commentedUpdate:
Storm Knowledgebase is almost fully ported to D7.
- Access controls need checking
- Needs upgrade path from D6
- Needs Field API support to be added to the Views module (#626704: Build views integration for field.module). Currently the list view is incomplete due to this.
Now that this simple-ish one is out of the way, I think Storm Organization comes next...
Comment #7
JGonzalez CreditAttribution: JGonzalez commented+1 Subscribed
- As Storm and Ubercart (hopefully will be easier to integrate come D7?) are pretty much the only modules I use, this port is pretty important to me. I want to switch to D7 as soon as I can
Comment #8
BenK CreditAttribution: BenK commentedSubscribing...
Comment #9
aschiwi CreditAttribution: aschiwi commentedSubscribing
Comment #10
David Latapie CreditAttribution: David Latapie commentedSubscribing
I am using Project Issue Tracker on D6, but I am considering setting up a brand new D7 site (much easier, although there is still a lot of room for improvement). Since I don not maintain software but publishing project, Storm may be closer to my expectations. Plus, for now, it is the only D7 project tracker, according to this page.
Comment #11
juliangb CreditAttribution: juliangb commentedLet me just update on this. Due to the changes in maintainer this has fallen a little bit by the wayside. However, I am quite keen that we still keep to the D7CX pledge of getting a stable D7 release out by the time that Drupal 7.0 is released. The number of critical issues for D7 (113 at this moment) is dropping fast now, so I suspect that we don't have all too long now.
I'm quite busy on other projects at the moment, but in around 3 weeks, I should have time to focus more on Storm.
It may be that some of the Fields API integration has to be put on hold to get an initial release out. Which is a shame, because the plan was to be rid of the attributes module - but that may have to be for now.
Obviously everyone who has subscribed to this issue has an interest in seeing the D7 port come out. Therefore, it would be great if people could comment and commit to helping out on this. As I said, hopefully in about 3 weeks I will have a bit more time to spend on it.
Comment #12
David Latapie CreditAttribution: David Latapie commentedI am very interested. Unfortunately, I cannot contribute any kind of code.
Comment #13
dbt102 CreditAttribution: dbt102 commentedSubscribing...
Comment #14
juliangb CreditAttribution: juliangb commentedJust to update this issue, I hope to do a significant amount of work on this during today and tomorrow. I will use separate issues to test patches etc. Please do get involved if you have some time.
Comment #15
electroponix CreditAttribution: electroponix commentedsubscribing
Comment #16
groovehunter CreditAttribution: groovehunter commentedsubscribing
Comment #17
juliangb CreditAttribution: juliangb commentedHi all,
Here is the current status of the D7 port. I have started this several times, but have never had time to get far enough to make it worthwhile.
Unless others chip in with their time, it is unlikely this will be done soon.
Something that would really help is amending the d6 version to utilise other modules such as views. I have listed a few issues in the roadmap for 6.x-1.35.
I look forward to everyone that has subscribed to this issue doing a small bit themselves to help.
Comment #18
aschiwi CreditAttribution: aschiwi commentedI think Storm could be a Feature in Drupal 7. More and more feature modules are coming up on drupal.org. That might make it easier to build Storm for D7? Features for D7 has been sort of ready to use for a couple of weeks now. What do you think?
Comment #19
juliangb CreditAttribution: juliangb commentedFeatures is a topic for a different issue. I have had previous offline discussions about it and have not been persuaded, but tbh I am not up to speed on exactly how it would affect storm.
I think this issue should remain to discuss a direct port of the current drupal 6 version into drupal 7.
Comment #20
podaroksubscribe
Comment #21
alarfaj CreditAttribution: alarfaj commentedsubscribe
Comment #22
wolfrage CreditAttribution: wolfrage commentedsubscribe
Comment #23
bigjim CreditAttribution: bigjim commentedOut of curiosity I ran storm.module through coder, other than dumb little changes to the coding standard (like string concatination now requiring spaces on both sides of the ".") most of the issues I see are fairly manageable. The only exception is the DBTNG conversion as hook_db_rewrite_sql is gone in D7 (something I think was a good idea) that means a lot of query re-writing for Storm. Given that Storm uses hook_db_rewrite_sql to enforce all of it's security that means more fun with tests. From what I can tell the best strategy is to move a system where hook_storm_rewrite_where_sql is replaced by hook_query_storm_node_access_alter see http://drupal.org/node/224333#db_rewrite_sql and storm_db_rewrite_sql is dropped altogether.
For example in the stormticket module in lieu of stormtimetracking_storm_rewrite_where_sql($query, $primary_table, $account) it would be stormticket_query_storm_node_access_alter(QueryAlterableInterface $query). I get hook_query_storm_node_access_alter because I'm adding $query->addTag('storm_node_access') to the query object in the sample below from line 901 of storm.module (6.x-2.x-dev branch):
Replace
With
I haven't figured out where the various _access_sql functions and storm_rewrite_sql fit into this plan, but then I only have an hour or two into this and most of that was spent trying to get rid of annoying syntax issues pointed to be coder :)
Comment #24
bigjim CreditAttribution: bigjim commentedI have to admit i'm not quite sure I understand the reason for the two sets of functions that re-write the sql for node access purposes.
It seems, and I'm sur eI'm missing something here, that various _access_sql functions and storm_rewrite_sql functions do about the same thing as hook_storm_rewrite_where_sql. I know the resulting SQL is different but what is it that necessitates the two sets of nearly identical functions? ideally there would be a more efficient way to do that.
Comment #25
OnkelTem CreditAttribution: OnkelTem commentedSubscribing
Comment #26
vimalramaka CreditAttribution: vimalramaka commentedsub
Comment #27
zwervertje CreditAttribution: zwervertje commentedGetting an error when trying to install the Storm - Organizations module:
FieldException: Attempt to update an instance of a nonexistent field . in field_update_instance() (line 524 of /home/.../public_html/dev/drupal/modules/field/field.crud.inc)
Comment #28
maidanet CreditAttribution: maidanet commentedSubscribing
Comment #29
GStegemann CreditAttribution: GStegemann commentedThe installation passed w/o any errors, but when attempting to open Storm dashboard the following error message is displayed:
Shouldn't be name of this function not "stormorganization_access_sql"?
The site was migrated from Drupal 6.20.
Comment #30
ptitwolfy CreditAttribution: ptitwolfy commentedSubscribing
Comment #31
radj CreditAttribution: radj commentedsubscribing
Comment #32
MatheoDJ CreditAttribution: MatheoDJ commentedSubscribing
Comment #33
Surp CreditAttribution: Surp commentedSubscribing
Comment #34
kd8fre CreditAttribution: kd8fre commentedSubscribing.
Comment #35
a3dse CreditAttribution: a3dse commentedSubscribing
Comment #36
kidsil CreditAttribution: kidsil commentedSubscribing
Comment #37
monican CreditAttribution: monican commentedsubscribing
Comment #38
Zarevac CreditAttribution: Zarevac commentedSubscribing
Comment #39
Karinaj CreditAttribution: Karinaj commentedsubscribing.
Comment #40
paulgemini CreditAttribution: paulgemini commentedsubscribing
Comment #41
rafhuys CreditAttribution: rafhuys commentedsubscribe
Comment #42
paulgemini CreditAttribution: paulgemini commentedChanging issue title so it doesn't get lost in dashboard
Comment #43
juliangb CreditAttribution: juliangb commentedHi all,
Here is an update on where Storm is currently at, especially considering that people are asking when Storm will be ported to run with Drupal 7 core.
Unfortunately, the number of people who are actually helping out with issues (whether this be to answer questions, ensure full information is available on bug requests, or to code solutions) seems to be decreasing. Furthermore, this is directly impacting the rate of development of Storm.
Currently, my main focus is on getting a few key features (such as full use of the views module) into the 6.x-2.x branch, so that I can start point releases on that branch and make it the recommended version.
Once this is complete, I will move my focus to porting that branch to Drupal 7. However, this will be a significant effort, and I may not have time for it unless Storm users step up and help, either by direct development, sponsorship, or either taking the load of some of the bug fixes and tasks that need to be done outside of the port to Drupal 7.
I am not suggesting any timescale for the port, as it is dependent on when I have time to do so, and how much (if any) support comes from others.
Comment #44
xlyz CreditAttribution: xlyz commentedsubscribing
Comment #45
Murzsubscribe
Comment #46
fasdalf@fasdalf.ru CreditAttribution: fasdalf@fasdalf.ru commentedsubscribing
Comment #47
jerrac CreditAttribution: jerrac commentedHas any progress been made since May?
Is there any kind of roadmap for the project? I looked in the group, but I didn't see anything.
I'm wondering where you plan to go with the D7 version once you've been able to get it ported and stable. Especially if you are going to work on upgrading the interface to something modern.
Comment #48
kfritscheI don't think anything changed from the statement made by juliangb in #43.
There should be a stable release of the branch 2.x first, which can be ported later.
In my opinion the drupal 7 version of storm should do a lot with the core fields of d7, but this means a lot of rewrite, maybe to start form scrap...
Comment #49
hans1272s CreditAttribution: hans1272s commentedNot meaning to pester you, but I too am anxious for a Drupal 7 release and would really appreciate a best guess time-frame on when it should be available.
Thanks.
Comment #50
Yuri CreditAttribution: Yuri commentedDrupal 7 is working with entities and all recent contributed modules are based on entities.
Porting from D6 makes no sense at all, since storm is not just a one little module but a whole set, working together. The D7 version will need to be a rewrite from scratch, since all containing submodules will be need to based on the recent developments in D7. So +1 for a whole rewrite...but, it will be a lot more flexible in the end.
I have been working with D7 since it came out, and I think about now it is very wise to switch to D7, since the most important modules are fairly stable. And, the whole D7 entity based framework makes it also easier to build.
Comment #51
juliangb CreditAttribution: juliangb commentedI would refer everyone who is commenting, to my last comment in #43.
Please think about whether you could help out with Storm. Even if it isn't directly with the port, if we can have more eyes on bugs / necessary tasks, then it will be easier to move towards Drupal 7.
Comment #52
NancyDru@Yuri: that is not true. The recommended porting procedure is to make minimal changes from the latest 6.x branch, then create a new 7.x-2.x branch to contain the updated 7.x coding. So juliangb's statements are correct and the way to go.
Comment #53
NancyDruSo, if I'd like to help test things, would it be wiser to spend my time on 6.x-2.x, or on 7.x-1.x?
Comment #54
juliangb CreditAttribution: juliangb commentedI would recommend spending the time testing 6.x-2.x. We are hoping to make a stable release on this branch soon.
Once the 2.x release is out, we can discuss the best way forward for Storm-like functionality in Drupal 7.
Comment #55
juliangb CreditAttribution: juliangb commentedI think now would be a good time to re-ignite this discussion.
For anyone that hasn't followed it closely, the 6.x-2.x branch has now reached betas, and I'm confident that we'll be moving on to a full release fairly soon. Thus, it is time to think about Drupal 7 again.
Before going full steam ahead on porting, I'd like to get views on whether this is the right approach. Are there any other modules that mean Storm is not necessary for Drupal 7? The only similar module that seems to have D7 code is the support module, but this offers only a small part of Storm functionality. Any thoughts?
On the assumption that we will port Storm in it's entirety, here's a proposed plan of action:
I'd welcome any options, and just as importantly, is there anyone that is willing to commit to helping out on this?
Comment #56
mattcasey CreditAttribution: mattcasey commentedWow, I am really looking forward to this. I have been using this module on D6 for my own projects and will volunteer my support in testing and development. I'm no PHP expert but I have some basic development knowledge in D6, especially theming, and would appreciate the chance to work on something in D7.
Comment #57
juliangb CreditAttribution: juliangb commentedI have refreshed the 7.x-1.x branch from 6.x-2.x.
Therefore, it is ready for developers to post patches against. It is not ready for testing or general use.
Comment #58
juliangb CreditAttribution: juliangb commentedHi all,
To give an update on the port:
- I am trying to keep the release notes up to date with which bits of Storm are thought to be working.
- Currently, you'll hopefully find that all modules install without errors, and the Storm basic and Storm organization modules are working (with known bugs).
There are a few things that you can do to help:
1 - Test the 7.x-1.x-dev release.
- Read the release notes, and have a play with the parts that are claimed to be working, and post issues for anything that doesn't.
- Try upgrading a Drupal 6 installation.
- None of this requires coding knowledge!
- Thanks to those doing this already!
2 - Write automated tests.
- Automated tests are one of the best ways of ensuring that everything works, and remains working after changes are made.
- Tests should be (almost) the same for both Drupal 6 and Drupal 7.
- We need people who can extend our tests for Drupal 6. We can then use these as a checklist the Drupal 7 version.
- This requires some basic coding knowledge, but is very easy to learn (and there is good documentation on drupal.org about writing tests).
3 - Help with the full coding
- Give me a shout if you'd like to be involved.
Thanks,
Comment #59
dbt102 CreditAttribution: dbt102 commentedCan you point me to the "good documentation on drupal.org about writing tests". Not sure where to start.
Comment #60
juliangb CreditAttribution: juliangb commentedDefinitely: http://drupal.org/simpletest-tutorial is for Drupal 6, and is the best place to start.
We already have some tests that check access to pages and creating nodes, but only very simple cases. We could do with some that check other permissions, or run through more specific use cases.
Comment #61
Youblob CreditAttribution: Youblob commentedSubscribing
Comment #62
druderman CreditAttribution: druderman commentedSubscribing
Comment #63
fasdalf@fasdalf.ru CreditAttribution: fasdalf@fasdalf.ru commentedNo need to subscribe anymore. There is a Follow link on top of page.
Comment #64
juliangb CreditAttribution: juliangb commentedFor those following this issue - please be aware of some discussion that happened on the Storm groups on http://groups.drupal.org - http://groups.drupal.org/node/256578 .
There will be some more activity on this port over the next few days - especially if you can help.
Comment #65
juliangb CreditAttribution: juliangb commentedAs a roughly monthly update to this issue, we've made a lot of progress with Storm for Drupal 7.
I need to also make you aware that Storm will shortly use views for all lists, so please download and enable views when testing.
If you haven't tested in a while, please do try D7 Storm out, and write up any bugs that you find.
Comment #66
brayo4 CreditAttribution: brayo4 commentedtis looking good so far...... no errors reported yet. thx again !!!
Comment #67
juliangb CreditAttribution: juliangb commentedThanks for testing!
But I know there are things that don't work at the moment... so keep testing and creating issues!
Comment #68
Alex Andrascu CreditAttribution: Alex Andrascu commentedCan you please point out and prioritize what you know it's not working ? I can look into some stuff and maybe roll some patches.
Comment #69
juliangb CreditAttribution: juliangb commentedIf you filter the issues list by 7.x-1.x, those are the bits we're working on.
The priority is probably to move to using views for all of the pages such as storm/organizations , storm/tasks etc., and there'll be some for ensuring all of the views capabilities that we had in D6 are working.
There are also some bits we need in terms of getting the Ajax working on node forms.
Comment #70
FrancewhoaAll, juliangb did a useful roadmap, you are welcome to contribute, review patches, follow progress at https://drupal.org/node/1862286
Comment #71
juliangb CreditAttribution: juliangb commentedMoving this issue to the new pm project, the new name of the Storm modules (for Drupal 7 onwards).
Comment #72
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI get this when clicking on the timetracking link on /storm
PHP Fatal error: Call to undefined function db_rewrite_sql() in stormtimetracking/stormtimetracking.admin.inc on line 170
Comment #73
juliangb CreditAttribution: juliangb commentedFor the sake of the many people following this issue, I will not respond to any feature requests / bug reports on this issue.
Please check the issues queue and make a new issue if necessary.
Thank you for your understanding.
Comment #74
FrancewhoaAll, here is the direct link to create a new issue for the Drupal 7 version http://drupal.org/node/add/project-issue/pm
For Drupal 6 version https://drupal.org/node/add/project-issue/storm
Comment #75
dbt102 CreditAttribution: dbt102 commentedBy my accounting, I believe the PM module is now ready for alpha release testing.
Once the PMMigration module (#1960726: Migration: Rename storm node_types, #1914630: Migration: Rename variables and #1909448: Migration: Refresh icons location) is completed, the work will be focused on "neatening this up" (see #1862286: Meta: Development Roadmap - 7.x-2.x version .
When is a "port" considered completed? Alpha, Beta, RC or Stable Release?
Comment #76
juliangb CreditAttribution: juliangb commentedIt is very exciting after the long wait and a lot of hard work that we're finally here.
I suggest we mark this issue as fixed, when we release alpha (definition of alpha: the release will work, but needs caution against bugs and the codebase is open to a lot of change), but also comment here to notify all of the followers when we reach the other milestones.
I imagine that each person following will have their own idea of when the release is ready to use.
Comment #77
juliangb CreditAttribution: juliangb commentedThe alpha 1 release of Project Management will be created on 1st July 2013.
#2029129: Alpha 1 release.
Comment #78
juliangb CreditAttribution: juliangb commentedI'm pleased to announce that I have just created the alpha 1 release of Project Management.
Whilst there may still be bugs, and some aspects of functionality will change, this marks the completion of the "port to Drupal 7".
The release works and is good to try out, although you should note that it is still in alpha (as I said, may be bugs, some functionality will change) - which means you should use discretion when installing on production systems.