Giter VIP home page Giter VIP logo

content-sync-example's People

Contributors

cmfgi avatar corester avatar stefanpieper avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

content-sync-example's Issues

To see changes on remote systems, studio has to be restarted

Bug-Description
If one makes a change on a remote system while one has the "Content Sync" tool open, this change will never appear as long as the tool is running.

To Reproduce

  • For example. You open op a folder on the remote system via "Content Sync".
  • You see it is empty.
  • You log in to this remote system via Studio
  • You add a resource to this folder.
  • Result: You never will see this resource in "Content Sync", even if you close end re-open the "Content Sync"-Window. You can resolve that only in re-loading studio itself, which is very time-consuming.

Expected behavior
Maybe a reload button would be nice?

To be synchronized list removes content that is checked when part of dependency

Describe the bug
When a content is part of the dependency of another content, and both are selected in the left panel, when deselecting the containing item it will remove also the other item

To Reproduce
Steps to reproduce the behavior:

  1. create teaser A
  2. create page B
  3. add B inside teaser targets of content A
  4. select content A for content sync
  5. notice that also content B is coming, as part of references
  6. select also content B from the left panel
  7. notice that the right panel is NOT updated
  8. deselect content A
  9. notice that content B is also removed from the right panel, but it is still selected in the left panel

Expected behavior
Content B should be promoted as no more part of references from A, but as a "chosen" content to be synchronized
Content B should not be removed when removing A

Screenshots
image

Add Content Sync workflows to Control Room

Is your feature request related to a problem? Please describe.
It is currently impossible to check if a workflow run successfully, and which content were synchronized, and also what are the list of previously synchronized workflows

Describe the solution you'd like
It would be very good to have a new section inside the Control Room in order to have a complete overview of what happened

Describe alternatives you've considered
It would also be possible to implement a list of previously run wfs in the content sync window, but the list should include a reference to all content that was created by wf (each one with with right click context menu available to show in tab or library)

Starting partial sync into empty local docker-compose environment does not work / leads to NullPointerException

Describe the bug
Starting partial sync into empty local docker-compose environment does not work / leads to NullPointerException

workflow-server              | 2021-05-03 15:53:15 - [ERROR] com.coremedia.workflow.impl.server.LongAction [] - LongAction com.coremedia.blueprint.contentsync.workflow.action.CreateAndLinkContents: extract params failed (TransactionRunner-19 for coremedia:///cap/task/1/2)
workflow-server              | java.lang.NullPointerException: null
workflow-server              | 	at okhttp3.HttpUrl$Builder.parse(HttpUrl.java:1313)
workflow-server              | 	at okhttp3.HttpUrl.get(HttpUrl.java:917)
workflow-server              | 	at okhttp3.HttpUrl.parse(HttpUrl.java:905)
workflow-server              | 	at com.coremedia.blueprint.contentsync.client.http.IAPIHttpClientImpl.createBaseRequest(IAPIHttpClientImpl.java:69)
workflow-server              | 	at com.coremedia.blueprint.contentsync.client.http.IAPIHttpClientImpl.init(IAPIHttpClientImpl.java:35)
workflow-server              | 	at com.coremedia.blueprint.contentsync.client.IAPIContext.prepareClient(IAPIContext.java:68)
workflow-server              | 	at com.coremedia.blueprint.contentsync.client.IAPIContext.build(IAPIContext.java:80)
workflow-server              | 	at com.coremedia.blueprint.contentsync.workflow.action.CreateAndLinkContents$ActionParameters.<init>(CreateAndLinkContents.java:340)
workflow-server              | 	at com.coremedia.blueprint.contentsync.workflow.action.CreateAndLinkContents.extractParameters(CreateAndLinkContents.java:83)
workflow-server              | 	at com.coremedia.blueprint.contentsync.workflow.action.CreateAndLinkContents.extractParameters(CreateAndLinkContents.java:46)
workflow-server              | 	at com.coremedia.workflow.impl.server.beanparser.LongActionAdapter.extractParameters(LongActionAdapter.java:44)
workflow-server              | 	at com.coremedia.workflow.impl.server.LongAction.extractParameters(LongAction.java:73)

To Reproduce
Steps to reproduce the behavior:

  1. In local studio (https://studio.docker.localhost/) as user admin => Click on Apps => Content Sync
  2. Selected some content
  3. Start Workflow
  4. UI looks like this
    grafik

Expected behavior
Error should be transparent to the user / Content should be synced to local environment

Desktop (please complete the following information):

  • macOS 10.15.7
  • Firefox 88.0

recursion >2 does not work

Preconditions

Create four components (eg. A, B, C, D) on source environment
Link content to each other A > B > C > D ("A > B" means that content B is linked to A)
Steps to reproduce:

Open Content Sync on sandbox 1
Select source environment with created in preconditions components
Select Recursion level to 3
Select content A
Actual results:
Only A, B, C content items are selected for sync

Expected results:
A, B, C, and D content items should be selected for sync

Additional information
The expected result is the same when select 4 or 5 recursion level

To be synchronized list keeps old values

Describe the bug
Similar to #6
Same thing happens when only using the left panel

To Reproduce
Steps to reproduce the behavior:

  1. select content A
  2. select content B
  3. deselect content A
  4. deselect content B
  5. select content A
  6. check error: content B is appearing as well

Expected behavior
only content A must be selected

Refresh button clears selected content

Describe the bug
Selected content is cleared after clicking on the Refresh button

To Reproduce

  1. Open Content Sync tool from the Apps
  2. Choose the target environment
  3. Select some content to be synchronized
  4. Click on the Refresh button
  5. The content selection is cleared

Expected behavior
The content selection should not be cleared

Syncing is done solely as user workflow and not as the logged in user

Bug-Description
When doing the content-sync, the appropriate workflow should behave as Publication or Translastion-workflows and putting in the logged in user who has initiated the content-sync as an editor to the affected resources.

To Reproduce

  1. Execute a content-sync
  2. Look at the synced resources
  3. You will find not your user there but user "workflow"

Expected behavior
Own user should be the editor.

Content-Sync is keeping old state

Bug Description
see steps below

To Reproduce
Steps to reproduce the behavior:

  1. Select two content items => observe right panel
  2. De-select both
  3. Select ONE of the previous selected ones again
  4. Both are back - selected - on the right panel

Thanks to @ncieffo for finding this issue and making the screencast.

Content-Sync.is.keeping.old.state.mp4

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.