You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Rakesh Kumar (Jira)" <ji...@apache.org> on 2022/09/05 11:09:00 UTC

[jira] [Commented] (FELIX-6563) [Regression] Webconsole REST API doesn't return Confguration PID when creating a new configuration

    [ https://issues.apache.org/jira/browse/FELIX-6563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600327#comment-17600327 ] 

Rakesh Kumar commented on FELIX-6563:
-------------------------------------

Tested on Brave v1.43.89 and Fifefox v104

This still fails with WebConsole v4.8.4, I tried to save a config and got this error.

I am embedding Felix in Tomcat here. It works fine on Jetty and Undertow.

Please see this screenshot.

!image-2022-09-05-16-32-12-089.png|width=798,height=386!

JS loaded in browser

!image-2022-09-05-16-35-13-991.png|width=806,height=165!

> [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)