Giter VIP home page Giter VIP logo

Comments (8)

stof avatar stof commented on June 10, 2024

are you using the master branch of the bundle or the old version provided with Symfony 2.0 ?

from jmssecurityextrabundle.

 avatar commented on June 10, 2024

uhm... i'm using the Symfony 2.0 version.

how can I use the master branch? maybe must I make some modification in my deps file?

from jmssecurityextrabundle.

 avatar commented on June 10, 2024

I have modified the corresponding entry in the deps file:

[JMSSecurityExtraBundle]
    git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
    target=/bundles/JMS/SecurityExtraBundle
    version=origin/master

But still displays the error:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]  
  Unrecognized options "expressions" under "jms_security_extra" 

from jmssecurityextrabundle.

 avatar commented on June 10, 2024

I have also downloaded the zip file of the master branch, and deleted the Symfony one. I have manually removed the cache.

Still the same problem.

from jmssecurityextrabundle.

schmittjoh avatar schmittjoh commented on June 10, 2024

Please check what version is in the JMSSecurityExtraBundle.php file.

The expressions key definitely exists:
https://github.com/schmittjoh/JMSSecurityExtraBundle/blob/master/DependencyInjection/Configuration.php#L44

from jmssecurityextrabundle.

 avatar commented on June 10, 2024

Ok, the issue was with the bin/vendors script, as I was running it through the "install" option, but instead the correct way is the "update" option. This should be made clearer on the documentation :)

from jmssecurityextrabundle.

stof avatar stof commented on June 10, 2024

@webnius install will first look in the deps.lock to check if the dependency is locked.

from jmssecurityextrabundle.

hd-deman avatar hd-deman commented on June 10, 2024

same if in deps
[JMSSecurityExtraBundle]
git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
target=/bundles/JMS/SecurityExtraBundle
version=origin/1.0.x
then displays the error:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "expressions" under "jms_security_extra"

but if
[JMSSecurityExtraBundle]
git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
target=/bundles/JMS/SecurityExtraBundle
version=origin/master
then displays the error:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "secure_controllers" under "jms_security_extra"

from jmssecurityextrabundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.