Results 1 to 3 of 3

Thread: How to remove a module after using deploy in the builder?

  1. #1
    jspencer is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Orlando, Fl
    Posts
    85

    Default How to remove a module after using deploy in the builder?

    I created a basic module based on the Accounts template and then used the Deploy button in the module to install it in the same instance I created it in. I am having trouble with the module and would like to remove, rebuild, and then re-deploy it. I Looked in the builder and in the Module Loader and neither has an option to remove it.

    How do I get rid of it so I can start over?
    -Jeff

    SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5

  2. #2
    mcatling is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    75

    Default Re: How to remove a module after using deploy in the builder?

    Hi,

    Are you sure it is not in the module loader module. That is where you would normally go to for deletion of a deployed module.

    As far as I can tell.... all the option for deploy does in the module builder is to do all the normal stages of publishing and then uploading and installing a new module as one. So it should be there.

    Does the module show up in the Module loader as installed?

    If so, is it just missing the un-install option against it?

  3. #3
    jspencer is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Orlando, Fl
    Posts
    85

    Default Re: How to remove a module after using deploy in the builder?

    Sorry I wasn't clear enough, it didn't exist at ALL in the module loader. I think I know why though after trying to do a package build and module loader install (my related story and basic solution is here).

    The short answer is it looks like the builder/loader doesn't like it if you put an 'enter' in the description of your module/package. In my other post I wasn't sure if it was the readme or description killing the loader, but it is definately the description as I didn't do a readme for this deployed version and it still broke the loader.

    Luckily I was able to fix the issue by going into the cache/upload/upgrades/module folder and editing the modulename-manifest.php file AND the manifest.php file inside the module .zip file. In the files I just removed the enter and made sure the description was all one line. Turns out this wasn't quite enough, as the Loader was still broken, so I jumped into my SQL client and sure enough the description was also in the 'upgrade_history' table. I edited that as well and now the loader workes great.

    Now I can finally remove my module to fix the issue that sent me on this wild goose chase in the first place...what a waste of time!

    Sugar team, please at least edit the module builder help area to let everyone know not to include 'enter' in the description (or fix the Loader to handle this circumstance)!
    Last edited by jspencer; 2008-01-11 at 02:00 PM.
    -Jeff

    SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. HOWTO - Enhance ModuleBuilder generated modules to include AJAX
    By kenneth.thorman in forum Developer Tutorials
    Replies: 10
    Last Post: 2009-01-16, 05:53 PM
  3. Module Builder?
    By elvispresley99 in forum Help
    Replies: 0
    Last Post: 2006-09-24, 06:10 PM
  4. Replies: 1
    Last Post: 2006-09-11, 03:38 PM

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
  •