[jira] Created: (OFBIZ-3538) make "ant create-component" more robust

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-3538) make "ant create-component" more robust

Nicolas Malin (Jira)
make "ant create-component" more robust
---------------------------------------

                 Key: OFBIZ-3538
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3538
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: chris snow
            Priority: Minor
         Attachments: build.xml.patch

"ant create-component" allows null values to be entered which result in a some non-sensible values, for example:

{code}
    <webapp name="cscomp1"
        ...
        base-permission="OFBTOOLS,"
{code}

and

{code}
    <screen name="CsComp1CommonDecorator">
                            ...
                            <condition>
                                <if-has-permission permission="" action="_VIEW"/>
                            </condition>

{code}

One option is to make all the fields required.   For this a patch is attached.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3538) make "ant create-component" more robust

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chris snow updated OFBIZ-3538:
------------------------------

    Attachment: build.xml.patch

> make "ant create-component" more robust
> ---------------------------------------
>
>                 Key: OFBIZ-3538
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3538
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Priority: Minor
>         Attachments: build.xml.patch
>
>
> "ant create-component" allows null values to be entered which result in a some non-sensible values, for example:
> {code}
>     <webapp name="cscomp1"
>         ...
>         base-permission="OFBTOOLS,"
> {code}
> and
> {code}
>     <screen name="CsComp1CommonDecorator">
>                             ...
>                             <condition>
>                                 <if-has-permission permission="" action="_VIEW"/>
>                             </condition>
> {code}
> One option is to make all the fields required.   For this a patch is attached.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-3538) make "ant create-component" more robust

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-3538:
----------------------------------------

    Assignee: Jacopo Cappellato

> make "ant create-component" more robust
> ---------------------------------------
>
>                 Key: OFBIZ-3538
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3538
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>         Attachments: build.xml.patch
>
>
> "ant create-component" allows null values to be entered which result in a some non-sensible values, for example:
> {code}
>     <webapp name="cscomp1"
>         ...
>         base-permission="OFBTOOLS,"
> {code}
> and
> {code}
>     <screen name="CsComp1CommonDecorator">
>                             ...
>                             <condition>
>                                 <if-has-permission permission="" action="_VIEW"/>
>                             </condition>
> {code}
> One option is to make all the fields required.   For this a patch is attached.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-3538) make "ant create-component" more robust

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-3538.
------------------------------------

    Resolution: Fixed

Thanks Chris, your patch is in rev. 919428

> make "ant create-component" more robust
> ---------------------------------------
>
>                 Key: OFBIZ-3538
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3538
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>         Attachments: build.xml.patch
>
>
> "ant create-component" allows null values to be entered which result in a some non-sensible values, for example:
> {code}
>     <webapp name="cscomp1"
>         ...
>         base-permission="OFBTOOLS,"
> {code}
> and
> {code}
>     <screen name="CsComp1CommonDecorator">
>                             ...
>                             <condition>
>                                 <if-has-permission permission="" action="_VIEW"/>
>                             </condition>
> {code}
> One option is to make all the fields required.   For this a patch is attached.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.