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

Update SftpLoader.php #146

Closed
wants to merge 25 commits into from
Closed

Conversation

Daniel-Ateles
Copy link
Contributor

Downloads the sftp stream to the local file and returns the file.

The syntax "ElementInterface | null" is only supported since PHP 8 and breaks this bundle in Pimcore 6. Changed to ?ElementInterface.
Hello,

I just intalled today again the extension and went on the problem I mentionned a few month ago  pimcore#94
I think it is better to update the install documentation with this additionnal parameter so install is fluid with no problem for people trying the extension.
(it tooks me some times to remember how to bypass this problem, so if it is directly on the install command on the documentation, no need to dig to find how to install it on Pimcore 10!)

Thanks,
Best regards
* Update 02_Transformation_Pipeline.md

* fixed some typos

Co-authored-by: Christian Fasching <fashxp@users.noreply.github.com>
I have read the CLA Document and I hereby sign the CLA
# Conflicts:
#	doc/01_Installation.md
@github-actions
Copy link

github-actions bot commented Dec 22, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Daniel-Ateles
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@Daniel-Ateles
Copy link
Contributor Author

recheck

@fashxp fashxp added the Bug label Dec 23, 2021
@fashxp fashxp added this to the v1.3.5 milestone Dec 23, 2021
…imcore#122)

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Installer] Proper way of marking bundle installed on upgrade

* Apply php-cs-fixer changes

* [Feature]: Webhooks

* [Configuration] Add more fine-grained permissions to configurations

* Apply suggestions from code review

Co-authored-by: Sebastian Blank <blank@data-factory.net>

* [Configuration] Add more fine-grained permissions to configurations

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations

* [Configuration] Add more fine-grained permissions to configurations

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Configuration] Add more fine-grained permissions to configurations - related to pimcore/data-hub#438

* [Installer] Proper way of marking bundle installed on upgrade

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations

* Apply suggestions from code review

Co-authored-by: Sebastian Blank <blank@data-factory.net>

* [Configuration] Add more fine-grained permissions to configurations

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations

* [Configuration] Add more fine-grained permissions to configurations

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations

* Apply php-cs-fixer changes

* [Configuration] Add more fine-grained permissions to configurations

* added category for permissions and missing translations

* Apply php-cs-fixer changes

* fix old migration

Co-authored-by: dvesh3 <dvesh3@users.noreply.github.com>
Co-authored-by: mcop1 <marco.perberschlager@pimcore.com>
Co-authored-by: mcop1 <89011527+mcop1@users.noreply.github.com>
Co-authored-by: Sebastian Blank <blank@data-factory.net>
Co-authored-by: mcop1 <mcop1@users.noreply.github.com>
Co-authored-by: Christian Fasching <christian.fasching@pimcore.com>
Co-authored-by: fashxp <fashxp@users.noreply.github.com>
@fashxp
Copy link
Member

fashxp commented Jan 5, 2022

@Daniel-Ateles could you please rebase to 1.3 branch as this is a bugfix. Thx.

@fashxp fashxp self-assigned this Jan 5, 2022
* Setup PhpStan Test

* Switch to Doctrine Migrations

* Add bootstrap file

* Add missing models

* Require Carbon > 1.37.0

* Option must be an int

* Require doctrine migrations > 1.8

* Add stubs for wrong PhpDocs in Pimcore 6.9

* Require doctrine dbal > 2.11

* Fix stubs

* Add ElementInterface.stub

* Make doctrine migration yaml optional

* Fix PhpDocs

* Fix new errors

* Require data-hub > 1.1

* Support data-hub < 1.1 for pimcore 6.9

* Only test with Pimcore X and PHP > 8 necessary now

* Fix new error

* Remove unnecessary stubs, Update composer.json

* Revert ConfigDataObjectController.php changes

* Remove test models and faker dependency, exclude DummyDataCommand from phpstan instead

* Remove autoload-dev
@fashxp fashxp linked an issue Jan 10, 2022 that may be closed by this pull request
@fashxp
Copy link
Member

fashxp commented Jan 18, 2022

@Daniel-Ateles ping :)

@Daniel-Ateles
Copy link
Contributor Author

@Daniel-Ateles could you please rebase to 1.3 branch as this is a bugfix. Thx.

Should I select "origin/1.3" or "upstream/1.3" (see screenshot)
image

@fashxp
Copy link
Member

fashxp commented Jan 19, 2022

if your origin is quite up-to-date is should not matter.

@Daniel-Ateles
Copy link
Contributor Author

if your origin is quite up-to-date is should not matter.

There were no changes to rebase for origin/1.3 but 12 on the upstream, so I selected upstream and solved some merge conflicts. So it should be done now.

@fashxp fashxp changed the base branch from 1.x to 1.3 January 19, 2022 08:45
@fashxp
Copy link
Member

fashxp commented Jan 19, 2022

hmm, still not able to change the base to 1.3 properly.
maybe just create a new PR starting already from 1.3 branch?

@fashxp
Copy link
Member

fashxp commented Jan 19, 2022

it seems, you merged 1.x somehow into that branch. It think start over again would be the easiest and fastest option.

@Daniel-Ateles
Copy link
Contributor Author

it seems, you merged 1.x somehow into that branch. It think start over again would be the easiest and fastest option.

Ok! Will do!

@Daniel-Ateles
Copy link
Contributor Author

hmm, still not able to change the base to 1.3 properly. maybe just create a new PR starting already from 1.3 branch?

Done. I've created a PR for "sftploader-fix-3" based on 1.3.

@fashxp
Copy link
Member

fashxp commented Jan 19, 2022

closed in favor of #155

@fashxp fashxp closed this Jan 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2022
@Daniel-Ateles Daniel-Ateles deleted the sftloader-fix-2 branch July 21, 2022 06:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: SFTP not working - Could not copy from remote location