Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elemental 4 compatibility #39

Closed
digitall-it opened this issue Jan 28, 2019 · 5 comments
Closed

Elemental 4 compatibility #39

digitall-it opened this issue Jan 28, 2019 · 5 comments

Comments

@digitall-it
Copy link

digitall-it commented Jan 28, 2019

When trying to install on Silverstripe 4.3, with Elemental 4 using the command

composer require dnadesign/silverstripe-elemental-userforms 1.x-dev

I get the error

Problem 1
    - Installation request for dnadesign/silverstripe-elemental-userforms 1.x-dev -> satisfiable by dnadesign/silverstripe-elemental-userforms[1.x-dev].
    - Conclusion: remove dnadesign/silverstripe-elemental 4.0.0
    - Conclusion: don't install dnadesign/silverstripe-elemental 4.0.0
    - dnadesign/silverstripe-elemental-userforms 1.x-dev requires dnadesign/silverstripe-elemental ^2 || ^3 -> satisfiable by dnadesign/silverstripe-elemental[2.0.x-dev, 2.1.x-dev, 2.x-dev, 2.2.x-dev, 3.0.x-dev, 3.1.x-dev, 3.x-dev, 3.2.x-dev].
    - Can only install one of: dnadesign/silverstripe-elemental[3.0.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[3.1.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[3.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[3.2.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[2.0.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[2.1.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[2.x-dev, 4.0.0].
    - Can only install one of: dnadesign/silverstripe-elemental[2.2.x-dev, 4.0.0].
    - Installation request for dnadesign/silverstripe-elemental (locked at 4.0.0, required as ^4) -> satisfiable by dnadesign/silverstripe-elemental[4.0.0].

I would like to know if anyone has tried this block with Elemental 4, using a procedure similar to issue #35, and if it works correctly, I kindly ask for an update in the compatibility requisites.

@dejanlaco
Copy link

composer require dnadesign/silverstripe-elemental-userforms dev-master
worked for me

@digitall-it
Copy link
Author

digitall-it commented Jan 28, 2019

Thank you @dejanlaco . I confirm that it works with dev-master

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing dnadesign/silverstripe-elemental-userforms (dev-master 61f5f9b): Cloning 61f5f9b095 from cache
Writing lock file
Generating autoload files

@ScopeyNZ
Copy link
Collaborator

ScopeyNZ commented Jan 28, 2019

Hey all. 3.0.0-beta1 as a requirement should also work.

I don't know why we haven't tagged this stable yet. I think it's probably been missed.

I'll tag it now as 3.0.0 .

Edit: That's done - https://github.com/dnadesign/silverstripe-elemental-userforms/releases/tag/3.0.0

You should now be able to composer require dnadesign/silverstripe-elemental-userforms.

@digitall-it
Copy link
Author

digitall-it commented Jan 28, 2019

Thanks @ScopeyNZ, the frontpage still lists composer require dnadesign/silverstripe-elemental-userforms 2.x-dev as the branch to install. Do you think it should be changed?

@ScopeyNZ
Copy link
Collaborator

Good catch. I've done that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants