Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [Added]Do not drop tables on uninstall

  1. #1
    rolandd is offline Learning Programmer
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    0

    [Added]Do not drop tables on uninstall

    Hi,

    Not sure how to handle this. Since Joomla doesn't support upgrading a component (at least not in the 1.x series) I am basically forced to uninstall the old component and install the new one. As it drops the tables, I lose all my settings and history.

    So I would vote for not dropping the tables on uninstalling. That way it is not an element of surprise when you upgrade

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    I've considered this. It is kind of a double edged sword. On one side it is easy to upgrade but then people say "it doesn't uninstall completely" and on the other side people can't upgrade.

    After releasing several versions of ionFiles and having people unable to upgrade I think I am going to adopt this policy from now on.

    Do you know if 1.5 will have an "upgrade" feature?

  4. #3
    rolandd is offline Learning Programmer
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    0
    I've considered this. It is kind of a double edged sword.
    Absolutely true. I have the same problem with my component. I also decided rather to have the tables present than users losing their work. What I am considering but haven't looked at yet is make an option in my component to have the users drop the tables. After that they can uninstall the Joomla way.

    As for 1.5 I thought I read somewhere that it does allow component upgrading but I can't find any information towards that. Just tried to do an upgrade in Joomla 1.5RC1 and it simply tells me the path is already in use. So I guess there is no upgrade.

    Regards,

    RolandD

  5. #4
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    I believe a hack for Joomla! is in order, to allow component upgrades based on the version information found in the install xml. Actually wouldn't be that hard...thinking...

  6. #5
    Jordan Guest
    An upgrade component would be a nice feature to have. This is one of the lacking features of Joomla IMO.

  7. #6
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    Yeah, I was thinking along the lines of having an additional install xml file in each package, which would be read by the component and act in place of the built in system.

  8. #7
    eagle00789 is offline Newbie
    Join Date
    Apr 2007
    Posts
    19
    Rep Power
    0
    i have seen some components with a small different approach. in the settings, you can choose if you want to remove all or keep the tables. Then, on component uninstall, (if selected) the tables are kept. this way, the user makes the choise to keep or remove the tables.

  9. #8
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    We've fixed this in the upcoming ionFiles v3.

  10. #9
    eagle00789 is offline Newbie
    Join Date
    Apr 2007
    Posts
    19
    Rep Power
    0
    Quote Originally Posted by TkTech View Post
    We've fixed this in the upcoming ionFiles v3.
    is there a beta version available for download??

  11. #10
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    By tuesday it'll be completly done, please just wait.

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to uninstall XAMPP in Windows XP
    By Shanpav in forum Database & Database Programming
    Replies: 7
    Last Post: 04-30-2009, 12:32 PM
  2. How do I uninstall Linux completely
    By najaubais in forum Linux Hardware
    Replies: 3
    Last Post: 02-26-2009, 07:36 AM
  3. Uninstall a program
    By imported_Halo in forum Mac OS X
    Replies: 5
    Last Post: 05-05-2008, 06:18 AM
  4. Replies: 3
    Last Post: 02-11-2008, 05:51 AM
  5. how drop down value will display over the drop down menu
    By anniefs in forum JavaScript and CSS
    Replies: 1
    Last Post: 10-15-2007, 01:09 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts