You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (Jira)" <ji...@apache.org> on 2021/11/11 21:55:00 UTC
[jira] [Closed] (SLING-10653) Cannot save Importer Endpoints
[ https://issues.apache.org/jira/browse/SLING-10653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Klco closed SLING-10653.
----------------------------
> Cannot save Importer Endpoints
> ------------------------------
>
> Key: SLING-10653
> URL: https://issues.apache.org/jira/browse/SLING-10653
> Project: Sling
> Issue Type: Bug
> Components: App CMS
> Affects Versions: App CMS 1.0.2, App CMS 1.0.4
> Reporter: James Raynor
> Assignee: Dan Klco
> Priority: Major
> Fix For: App CMS 1.1.0
>
>
> Update2021-08-03:
> I have tested version 1.0.4 and found the same problem, steps to reproduce:
> Only steps 1,3 are needed to reproduce the bug without step 2.
> After several tests, I found a temporary way to skip the bug:
> Go to [http://localhost:8080/system/console]
> Find "Apache Sling CMS - Forward Agent Endpoint Sync"
> Agent Target:
> (xxx)
> Save.
> Just fill in the Agent Target with any unrelated value, e.g. "(xxx)".
> Apparently, the "Agent Target" property of the "Forward Agent Endpoint Sync" item is empty, which is the cause of the bug.
>
> Also, I found two misspellings of the default configuration.
> Find "Apache Sling Distribution Resources - Service Resource Provider Factory"
> Resource kind: exporter
> Resource kind: importer
> Resource kind: importer.
> Property provider.roots:
> /libs/sling/distribution/services/importer
> The "importer" is missing the "s". The correct content should be:
> /libs/sling/distribution/services/importers
> This error causes the following Importer Endpoints (as in most tutorials on the web) to fail to sync:
> [http://localhost:8081/libs/sling/distribution/services/importers/default]
> I checked the configuration in the same place in AEM's OSGI console and it is "importers".
> "Resource kind: exporter" has the same error.
> ——————————————————————————————————————————
> I tested Forward Distribution in SlingCMS version 0.16.0 yesterday and it worked, but in version 1.0.2 it failed to save Importer Endpoints.
> Steps to reproduce:
> Run SlingCMS1.0.2, go to [http://localhost:8080/system/console]
> 1.Find "Apache Sling Distribution Agent - Forward Agents Factory"
> Name:
> publish
> Allowed roots:
> /content
> Importer Endpoints:
> [http://localhost:8081/libs/sling/distribution/services/importers/default]
> Save.
> (If you reboot the system after saving at this step, Importer Endpoints will also be lost)
>
> 2.Find "Apache Sling Distribution Packaging - Vault Package Builder Factory"
> Name:
> default
> Save.
>
> 3.Check 1 and find that its “Importer Endpoints” are missing and cannot be saved even if they are added again.
> I've tried a workaround by doing step 2 first and then step 1, and the Importer Endpoints are saved.
> 4.Find "Apache Sling Distribution Transport Credentials - User Credentials based DistributionTransportSecretProvider"
> default, admin, admin
> Save.
> Check 1,Importer Endpoints are missing and cannot be saved in any way.
>
> Go to [http://localhost:8080/system/console/components]
> org.apache.sling.distribution.agent.impl.ForwardDistributionAgentFactory
> It's "unsatisfied" status.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)