[
https://issues.apache.org/jira/browse/FELIX-6563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600336#comment-17600336
]
Rakesh Kumar commented on FELIX-6563:
-------------------------------------
I tested till v4.3.0 and it didn't work, the non factory configs are working
just fine.
Tomcat redirects to the below url with an HTTP 400 when a factory config is
saved.
{code:java}
http://localhost:8080/system/console/configMgr/[Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]
{code}
[~cziegeler] Can you please look into this? Please let me know if I need to
create a new issue.
> [Regression] Webconsole REST API doesn't return Confguration PID when
> creating a new configuration
> --------------------------------------------------------------------------------------------------
>
> Key: FELIX-6563
> URL: https://issues.apache.org/jira/browse/FELIX-6563
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-4.7.2
> Reporter: Nicola Scendoni
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: webconsole-4.8.4
>
>
> The following curl request:
> {code:java}
> curl -u admin:admin -X POST -d "apply=true" -d
> "propertylist=oauth.create.users,oauth.config.id,oauth.scope,oauth.config.provider.id,oauth.hash.userids"
> -d "oauth.create.users=true" -d "oauth.config.id=ims-akNjLrfFoHlwcFta" -d
> "oauth.scope=AdobeID,openid" -d "oauth.config.provider.id=ims" -d
> "oauth.hash.userids=true" -d
> "factoryPid=com.adobe.granite.auth.oauth.provider" -d "pid=[Temporary PID
> replaced by real PID upon save]"
> http://localhost:4502/system/console/configMgr{code}
> create a new configuration using webconsole 4.3.8, with a 302 to something
> like:
> {code:java}
> http://localhost:4502/system/console/configMgr/com.adobe.granite.auth.oauth.provider.dfb67704-d75a-4322-ad79-20b8cb343b70{code}
> With weconsole version 4.7.2 (and newest) it doens't return the url with
> generated pid, but return a 302 with a url like:
> {code:java}
> http://localhost:4502/system/console/configMgr/%5BTemporary%20PID%20replaced%20by%20real%20PID%20upon%20save%5D{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)