Copied to clipboard

Flag this post as spam?

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


  • Shakib 32 posts 134 karma points
    Feb 27, 2017 @ 12:39
    Shakib
    0

    after installing uConditon i get the 404 errors that relate to uCondition api. the below image show one of the errorsenter image description here

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Feb 27, 2017 @ 15:51
    Mohammed BOUTEBEL
    0

    Hello.

    I have the same error. And another 404 error when I try to use uCondition :

    /umbraco/backoffice/Api/uConditionApi/GetPredicates

    An issue with the route ?

    Does it work with SQLCE Database ?

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 27, 2017 @ 21:11
    Craig Noble
    0

    Hi Shaking and Mohammed,

    Can you confirm what DLLs you have in the bin folder?

    Something like uCondition.*.DLL

    Thanks!

    Hopefully should be an easy fix! I can send you all the DLLs you need.

    Craig

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 27, 2017 @ 21:11
    Craig Noble
    0

    It does work with SQL CE. I think it's to do with missing DLLs

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 27, 2017 @ 21:26
    Craig Noble
    0

    Hey all,

    Can you make sure the ucondition.core nuget package is installed?

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 27, 2017 @ 22:13
    Craig Noble
    100

    Hi,

    It definitely sounds like you're missing DLL's. This could be caused by DLLs being deleted after installation if you rebuild the project in Visual Studio.

    If you've installed it via Umbraco package, make sure you reference the dlls and possibly move them out of the bin.

    If you installed via Nuget, I've uploaded an update that might be worth trying.

    You can run: install-package uCondition or update-package uCondition

    If you are using Conditional Access, run install-package uCondition or update-package uCondition.ConditionalAccess

    I hope that helps. If you have any more issues, please let me know.

    Thanks for reporting this to me :-)

    Craig

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 27, 2017 @ 22:15
    Craig Noble
    0

    Hi all,

    One last thing, if you can let me know how you installed it, I'll see what I can do to prevent this happening in the future :-)

    Thanks!

    Craig

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Feb 28, 2017 @ 07:56
    Mohammed BOUTEBEL
    0

    Hello Craig.

    Thank you for this quick reply.

    I have installed the package via Nuget, first the uCondition package and then the uCondition.Core, but it just checked that the Core was already installed, and I have these references in my project :

    uCondition.Core *.Core.Interfaces *.Core.Models *.Core.ExpressionEngine *.Interface *.Licencing *.Models

    and the same .DLL files physically in the bin folder.

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 28, 2017 @ 09:22
    Craig Noble
    0

    Hi Mohammed

    What version of Umbraco are you running?

    Also in the packages.config in your project, can you tell me what versions of each are installed?

    Thanks :-)

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Feb 28, 2017 @ 09:27
    Mohammed BOUTEBEL
    0

    I'm running the Umbraco 7.5.10 version.

    For the uCondition version :

    uCondition : 1.03

    uCondition.Core : 1.02

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 28, 2017 @ 09:42
    Craig Noble
    1

    Thank you for that. I'll review this later with the same version and try to replicate it.

    In the mean time, are you developing in Visual Studio 2015?

    Thanks

    Craig

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Feb 28, 2017 @ 10:54
    Mohammed BOUTEBEL
    0

    No, with VS2012 and VS2013.

  • Shakib 32 posts 134 karma points
    Feb 28, 2017 @ 11:08
    Shakib
    0

    hi craig. the problem was about dll.
    i copy them to bin folder and it worked. thanks for the answer

  • Shakib 32 posts 134 karma points
    Feb 28, 2017 @ 13:00
    Shakib
    0

    but i think there should be some pre defined predicate.
    but there is no predicate in my case

    enter image description here

  • Craig Noble 41 posts 584 karma points c-trib
    Feb 28, 2017 @ 20:31
    Craig Noble
    1

    Hi,

    Thanks for the clarification, I think it's due to my build targets in Nuget.

    I'll need to set up a build for different .Net targets, because VS 2012/2013 is doesn't include them as they were built with 2015. I'll sort a fix for that :)

    Out of the box I do not include any predefined predicates because everybody's needs will be different. However (!) You can download some member predicates I've set up here: https://our.umbraco.org/projects/developer-tools/ucondition-member-predicates/

    If you have any questions on building custom ones let me know :)

    Craig

  • Shakib 32 posts 134 karma points
    Mar 03, 2017 @ 10:04
    Shakib
    0

    that's weird
    https://our.umbraco.org/projects/developer-tools/ucondition-member-predicates/

    after going to this link and hit the download button the logo.png will be downloaded :|
    no package file

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 03, 2017 @ 14:27
    Mohammed BOUTEBEL
    0

    I noticed that too a couple of days ago :).

  • Craig Noble 41 posts 584 karma points c-trib
    Mar 05, 2017 @ 18:55
    Craig Noble
    1

    hey all!

    my mistake! ive uploaded it. Code is also available on github for inspiration for your own!

    thanks for letting me know! :)

    Craig

Please Sign in or register to post replies

Write your reply to:

Draft