[jira] Created: (OFBIZ-152) [Framework] In GenericDelegator does keepLocalReaders setting work?

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

[jira] Created: (OFBIZ-152) [Framework] In GenericDelegator does keepLocalReaders setting work?

Nicolas Malin (Jira)
[Framework] In GenericDelegator does keepLocalReaders setting work?
-------------------------------------------------------------------

                 Key: OFBIZ-152
                 URL: http://issues.apache.org/jira/browse/OFBIZ-152
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: OFBiz
            Reporter: Pham Hoai Van
            Priority: Minor


First of all, i would like to say the thank you to founder of OFBiz, they've given a excellence project.

Second, i found thist:
 
/** set this to true for better performance; set to false to be able to reload definitions at runtime throught the cache manager */
    public static final boolean keepLocalReaders = true;

I found this comment in GenericDelegator class. I tried to set it to false, recompile and restart the server but it doesnt work. Changing of definition is not reflect at runtime.

Does this right or i miss config something?

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-152) [Framework] In GenericDelegator does keepLocalReaders setting work?

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-152?page=comments#action_12427565 ]
           
David E. Jones commented on OFBIZ-152:
--------------------------------------

This is a pretty old flag and it wouldn't surprise me if the original effect was broken by newer code...

Actually, early on we even had a web-based entity editor to change definitions in real time. This was actually pretty klunky and so while it is kind of still in there it is not linked to and is mostly disabled.

Unless there are objections we are planning to go even more this way in the future. Being able to change entity definitions on the fly just causes too many problems, especially with so many things (like service defs, foms, etc) being based on entity defs these days.

> [Framework] In GenericDelegator does keepLocalReaders setting work?
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-152
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-152
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: OFBiz
>            Reporter: Pham Hoai Van
>            Priority: Minor
>
> First of all, i would like to say the thank you to founder of OFBiz, they've given a excellence project.
> Second, i found thist:
>  
> /** set this to true for better performance; set to false to be able to reload definitions at runtime throught the cache manager */
>     public static final boolean keepLocalReaders = true;
> I found this comment in GenericDelegator class. I tried to set it to false, recompile and restart the server but it doesnt work. Changing of definition is not reflect at runtime.
> Does this right or i miss config something?

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