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

Cloning feature with fallback for 1.10.x #7409

Open
wants to merge 4 commits into
base: 1.10.x
Choose a base branch
from

Commits on Nov 16, 2016

  1. Changes to make the Cloning feature from dev retrocompatible with wh…

    …at is in 1.10.x:
    
      - Implemented fallback logic in the driver coordinators
      - Reverted change on the signature of the Clone method in src/Orchard.Web/Core/Contents/Controllers/AdminController.cs
      - Reverted changes to src/Orchard.Web/Modules/Orchard.Localization/Controllers/AdminController.cs
      - Restored src/Orchard.Web/Modules/Orchard.Localization/Views/Admin/Translate.cshtml
      - Reverted changes to src/Orchard.Web/Modules/Orchard.Localization/Views/EditorTemplates/Parts/Localization.ContentTranslations.Edit.cshtml
      - Reverted src\Orchard.Web\Modules\Orchard.Localization\Drivers\LocalizationPartDriver.cs
    MatteoPiovanelli-Laser committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    85c4ae0 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2016

  1. Moved Cloning and Cloned method definitions to the new IContentFieldC…

    …loningDriver and IContentPartCloningDriver interfaces.
    
    Changed ContentPartDriver and ContentFieldDriver so they inherit from the new interfaces.
    Changed ContentFieldDriverCoordinator and ContentPartDriverCoordinator so that the drivers are injected using the new interface.
    MatteoPiovanelli-Laser committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    4999151 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2016

  1. Configuration menu
    Copy the full SHA
    899f6e5 View commit details
    Browse the repository at this point in the history
  2. Changed the driver coordinators so that they resolve IContentPartDriv…

    …er and IContentFieldDriver. The Cloning and Cloned logic now verify that the each driver implements the cloning interface
    MatteoPiovanelli-Laser committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    1827055 View commit details
    Browse the repository at this point in the history