[jira] Created: (OFBIZ-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

[jira] Created: (OFBIZ-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

Nicolas Malin (Jira)
Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-3882
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Deyan
             Fix For: SVN trunk
         Attachments: ModelEntity_extend_entity2.patch

Allow attributes
enable-lock
no-auto-stamp
auto-clear-cache
never-cache
sequence-bank-size

 in <extend-entity> tag in entitydef.xml fiels

Example:
<extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

Nicolas Malin (Jira)

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

Deyan updated OFBIZ-3882:
-------------------------

    Attachment: ModelEntity_extend_entity2.patch

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity2.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

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

Deyan updated OFBIZ-3882:
-------------------------

    Attachment: ModelEntity_extend_entity3.patch

The previous patch was missing entitymodel.xsd changes

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

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

Deyan updated OFBIZ-3882:
-------------------------

    Attachment:     (was: ModelEntity_extend_entity2.patch)

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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] Commented: (OFBIZ-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

    [ https://issues.apache.org/jira/browse/OFBIZ-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904521#action_12904521 ]

Deyan commented on OFBIZ-3882:
------------------------------

Any progress ?

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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] Commented: (OFBIZ-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

    [ https://issues.apache.org/jira/browse/OFBIZ-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904572#action_12904572 ]

Jacques Le Roux commented on OFBIZ-3882:
----------------------------------------

Hi Deyan,

Are you using this in a proven production (I did not yet look into any details)?

Thanks

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

--
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] Commented: (OFBIZ-3882) Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels

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

    [ https://issues.apache.org/jira/browse/OFBIZ-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904981#action_12904981 ]

Deyan commented on OFBIZ-3882:
------------------------------

Hi Jacques,

yes, i am using this in a production.

The idea is to enable the extend-entity tag to overload attributes specified in the original entity definition file.

This would allow developers to extend entities in the ofbiz apps they create without modifying the original entitydef files which would cause conflicts and require merging.

Basically it's mostly copy + paste code which gets executed when starting ofbiz and loading the entities, it does nothing during runtime so it's pretty safe to apply the patch.

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example:
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" />

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