[JIRA] Created: (HREPTWO-1559) Cannot read boolean front-end plugin parameters when specified as jcr boolean types

View: New views
4 Messages — Rating Filter:   Alert me  

[JIRA] Created: (HREPTWO-1559) Cannot read boolean front-end plugin parameters when specified as jcr boolean types

by JIRA (Wander Grevink) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cannot read boolean front-end plugin parameters  when specified as jcr boolean types
------------------------------------------------------------------------------------

                 Key: HREPTWO-1559
                 URL: http://issues.hippo.nl/browse/HREPTWO-1559
             Project: Hippo Repository 2
          Issue Type: Bug
            Reporter: (Berry) A.W. van Halderen
            Priority: Normal
             Fix For: 2.01.00m07


Having a configuration:
  <sv:node sv:name="myPlugin4">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>frontend:plugin</sv:value>
    </sv:property>
    <sv:property sv:name="key" sv:type="Boolean">
      <sv:value>true</sv:value>
    </sv:property>
and then in the plugin implementation the code:
  IPluginConfig.getBoolean("key")
will not return true as expected but always false (as if the key is not found).  Only
using "String" in the configuration will work as expected.

In addition:
  IPluginConfig.containsKey("key")
always returns false even if key is present in configuration.
Please use the RepositoryMap as implementation as it will be more powerful.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hippo.nl/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
HippoRepos-dev mailing list
HippoRepos-dev@...
http://lists.hippo.nl/mailman/listinfo/hipporepos-dev

[JIRA] Assigned: (HREPTWO-1559) Cannot read boolean front-end plugin parameters when specified as jcr boolean types

by JIRA (Wander Grevink) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://issues.hippo.nl/browse/HREPTWO-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van Lankvelt reassigned HREPTWO-1559:
-------------------------------------------

    Assignee: Frank van Lankvelt

> Cannot read boolean front-end plugin parameters  when specified as jcr boolean types
> ------------------------------------------------------------------------------------
>
>                 Key: HREPTWO-1559
>                 URL: http://issues.hippo.nl/browse/HREPTWO-1559
>             Project: Hippo Repository 2
>          Issue Type: Bug
>            Reporter: (Berry) A.W. van Halderen
>            Assignee: Frank van Lankvelt
>            Priority: Normal
>             Fix For: 2.01.00m07
>
>
> Having a configuration:
>   <sv:node sv:name="myPlugin4">
>     <sv:property sv:name="jcr:primaryType" sv:type="Name">
>       <sv:value>frontend:plugin</sv:value>
>     </sv:property>
>     <sv:property sv:name="key" sv:type="Boolean">
>       <sv:value>true</sv:value>
>     </sv:property>
> and then in the plugin implementation the code:
>   IPluginConfig.getBoolean("key")
> will not return true as expected but always false (as if the key is not found).  Only
> using "String" in the configuration will work as expected.
> In addition:
>   IPluginConfig.containsKey("key")
> always returns false even if key is present in configuration.
> Please use the RepositoryMap as implementation as it will be more powerful.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hippo.nl/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
HippoRepos-dev mailing list
HippoRepos-dev@...
http://lists.hippo.nl/mailman/listinfo/hipporepos-dev

[JIRA] Work started: (HREPTWO-1559) Cannot read boolean front-end plugin parameters when specified as jcr boolean types

by JIRA (Wander Grevink) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://issues.hippo.nl/browse/HREPTWO-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HREPTWO-1559 started by Frank van Lankvelt.

> Cannot read boolean front-end plugin parameters  when specified as jcr boolean types
> ------------------------------------------------------------------------------------
>
>                 Key: HREPTWO-1559
>                 URL: http://issues.hippo.nl/browse/HREPTWO-1559
>             Project: Hippo Repository 2
>          Issue Type: Bug
>            Reporter: (Berry) A.W. van Halderen
>            Assignee: Frank van Lankvelt
>            Priority: Normal
>             Fix For: 2.01.00m07
>
>
> Having a configuration:
>   <sv:node sv:name="myPlugin4">
>     <sv:property sv:name="jcr:primaryType" sv:type="Name">
>       <sv:value>frontend:plugin</sv:value>
>     </sv:property>
>     <sv:property sv:name="key" sv:type="Boolean">
>       <sv:value>true</sv:value>
>     </sv:property>
> and then in the plugin implementation the code:
>   IPluginConfig.getBoolean("key")
> will not return true as expected but always false (as if the key is not found).  Only
> using "String" in the configuration will work as expected.
> In addition:
>   IPluginConfig.containsKey("key")
> always returns false even if key is present in configuration.
> Please use the RepositoryMap as implementation as it will be more powerful.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hippo.nl/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
HippoRepos-dev mailing list
HippoRepos-dev@...
http://lists.hippo.nl/mailman/listinfo/hipporepos-dev

[JIRA] Resolved: (HREPTWO-1559) Cannot read boolean front-end plugin parameters when specified as jcr boolean types

by JIRA (Wander Grevink) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://issues.hippo.nl/browse/HREPTWO-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van Lankvelt resolved HREPTWO-1559.
-----------------------------------------

    Resolution: Cannot Reproduce

Provided scenario works.

> Cannot read boolean front-end plugin parameters  when specified as jcr boolean types
> ------------------------------------------------------------------------------------
>
>                 Key: HREPTWO-1559
>                 URL: http://issues.hippo.nl/browse/HREPTWO-1559
>             Project: Hippo Repository 2
>          Issue Type: Bug
>            Reporter: (Berry) A.W. van Halderen
>            Assignee: Frank van Lankvelt
>            Priority: Normal
>             Fix For: 2.01.00m07
>
>
> Having a configuration:
>   <sv:node sv:name="myPlugin4">
>     <sv:property sv:name="jcr:primaryType" sv:type="Name">
>       <sv:value>frontend:plugin</sv:value>
>     </sv:property>
>     <sv:property sv:name="key" sv:type="Boolean">
>       <sv:value>true</sv:value>
>     </sv:property>
> and then in the plugin implementation the code:
>   IPluginConfig.getBoolean("key")
> will not return true as expected but always false (as if the key is not found).  Only
> using "String" in the configuration will work as expected.
> In addition:
>   IPluginConfig.containsKey("key")
> always returns false even if key is present in configuration.
> Please use the RepositoryMap as implementation as it will be more powerful.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hippo.nl/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
HippoRepos-dev mailing list
HippoRepos-dev@...
http://lists.hippo.nl/mailman/listinfo/hipporepos-dev
LightInTheBox - Buy quality products at wholesale price!