Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    May 20, 2016 @ 09:09
    Frans de Jong
    0

    umbraco plugins not working source control

    Hi,

    We use subversion as source control at our company. The database is on our dev server and the code runs in visual studio.

    I've build a site on my machine and committed it to the subversion.

    If my collegae opens the solution from the subversion he has all the files and there are no build errors. But, the plugins look like their not installed...

    The files are in the app_plugins folder but are not initiated?

    Thanks guys.

  • Manish 373 posts 932 karma points
    May 20, 2016 @ 09:14
    Manish
    1

    Have you also matched the dlls at your colleague's end. And cleared app data?

    Manish

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    May 20, 2016 @ 09:22
    Frans de Jong
    0

    Hi Manish,

    Thanks for your reply.

    I've just deleted everything in his App_Data folder and then we rebuilded the solution. Still nothing.

    What Dll's are the ones we should match?

    Frans

  • Manish 373 posts 932 karma points
    May 20, 2016 @ 09:36
    Manish
    1

    Frans

    Is there any dll generated at your end while installing plugin which is not at your colleague's end.

    Manish

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    May 20, 2016 @ 09:48
    Nik
    100

    Hi Frans,

    Are you installing the plugins via Nuget or though the Umbraco Package Installer in the back office.

    For source control purposes I find it best to install what you can via Nuget. Then if the package isn't availabe through nuget add it to a "lib" folder in the solution for source control. These packages in the "lib" folder will need to be installed manually on the other dev machines because they could be putting files in various places including the Bin directory (which you don't want to put into source control).

    By taking this approach it gives you the best level of control for non-nuget packages. The packages will only need to be installed once on each developers machine (unless you update the package then it will need re-installing).

    Nik

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    May 20, 2016 @ 09:59
    Nik
    0

    Hi Naveed,

    Unfortunately I've not had a chance to use Umbraco forms so I'm not certain how you access the data for it. I would start by debugging the code and stepping through to see where the data is in the object.

    When you were accessing the values before, you code looked incorrect as the Equals method normally checks to see if a value is equal to what you are passing it.

    What data type is Values? Is it a key value pair collection? if so, you could try:

    record.RecordFields.Values["hiddenfieldField"] 
    

    for example.

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    May 20, 2016 @ 10:37
    Frans de Jong
    0

    Ok, something changed. After deleting the project from his machine, and geting a new version from source control, Optimus(plugin) magically appeared.

    We also have uCommerce installed via the Umbraco packagemanager. It does show up in the umbraco tree, but if we click on it we get a null reference error.

    We reinstalled it but it is still not ok...

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    May 20, 2016 @ 10:40
    Frans de Jong
    0

    Nevermind. It works. We logged out and logged back in. Than it was fixed.

    Thanks for the help.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies