Upgrade to Drupal 6

rsmith5 - March 8, 2009 - 19:26
Project:Node Relativity
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Below I have attached an updated version of Node Relativity 5.x-2.4 to be compatible with Drupal 6. It appears to run well, but is not fully tested. It includes Views 2 support, and several code clean-up changes. While everyone is very excited about Relativity 3, some may need this module now. If this is your case, I hope this serves you well.

AttachmentSize
relativity-6.x-2.5.tar_.gz28.09 KB

#1

rsmith5 - March 8, 2009 - 19:29

You may need to change the file extension to .tar.gz

#2

somnoliento - March 10, 2009 - 22:27

Installed it on a temp site (previously upgraded from 5.x) and ran update.php - Everything seems to work ok, I can see the relationships I had defined, but while trying to search, I get
Call to undefined function views_load_cache() in /var/www/drupal/sites/all/modules/relativity/relativity.module on line 1282

#3

somnoliento - March 12, 2009 - 16:17
Status:needs review» needs work

#4

As If - March 22, 2009 - 03:10

I installed this as a "downgrade" from the now-defunct version 6.x-1.x-dev. The "Regular settings" and "Advanced settings" tabs seem to work normally. The "Display settings" tab barfed completely. Upon hitting the back button, I saw...
user warning: Table 'mydatabase.view_view' doesn't exist query: SELECT name FROM view_view ORDER BY name

1. There is no table called "view_view". So I modified line 671 to read "views_view" (the actual name of the table). But the Display settings page still barfed.

2. So I commented out the entire portion of relativity_display_settings() that handles views selections. (Look for the words "allow user to choose a view to render a specifc" around line 667.) I commented out the entire IF clause below that comment. Now the Display settings tab is working.

#5

rsmith5 - March 24, 2009 - 03:16

Yeah, there are some dependencies on the Views 1 module in a few places in the code. When hitting these functions the module breaks. In the immediate future, just commenting out the Views 1 dependent code will be sufficient to keep the basic relativity functions working. In the future I'm not sure if we want to try to port the features to Views 2 or continue without it. Patches are welcome.

#6

rsmith5 - April 8, 2009 - 22:21

Ok, I believe I have taken care of the bugs discussed above. If you find any more, please let me know.

Thanks.

AttachmentSize
relativity-6.x-2.5.1.tar_.gz 28.04 KB

#7

lelizondob - April 14, 2009 - 15:35
Status:needs work» needs review

I've been using #6 and it works great (views2 included). I hope this could be committed soon so update manager stops yelling at me about this module not being supported.

#8

darius - April 14, 2009 - 15:44

Great, I'll commit soon. Thanks!
Darius

#9

darius - April 22, 2009 - 22:00

This version is now committed to 6.1-dev branch. Could someone go to
http://drupal.org/node/237357, download and install http://ftp.drupal.org/files/projects/relativity-6.x-1.x-dev.tar.gz, and verify that everything works?

I will then release the official 6.x-1.1.
Thanks,
Darius

#10

As If - April 22, 2009 - 22:46

1. Deactivated previous dev version (Information added by drupal.org packaging script on 2008-03-25)
2. Moved relativity folder out of module path
3. Uploaded new dev version
4. Activated Node Relativity. No problems.

All tabs are working, all functions seem to be working. My previous relationships were retained.

5. Removed an existing child from its parent node. Worked fine.
6. Created a new child node attached to that parent. Worked fine.

LVX
TF

#11

lelizondob - April 22, 2009 - 23:54
Status:needs review» reviewed & tested by the community

I think it's stable enough for a dev release. Maybe there will be bugs in the future but maybe they should be reported in separate issues.

I don't want to move the status to fixed, I think darius or wilco should do it, but "reviewed and tested" should represent a more 'real' status of this issue.

#12

darius - April 23, 2009 - 21:17
Status:reviewed & tested by the community» fixed

Released as 6.x-1.1. Thanks to rsmith5 for his work in porting the module, and everyone else for testing.

Please start a new issue to report new problems.

Darius

#13

System Message - May 7, 2009 - 21:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.