[jira] [Commented] (OFBIZ-9185) The deleteWorkEffort service is incomplete and even wrong

2017-01-23 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834422#comment-15834422
 ] 

Jacques Le Roux commented on OFBIZ-9185:


Actually I even think we should do that by using remove-related with a default 
remove-foreign-key attribute sets to no. 
Because this issue is not only deleteWorkEffort but everywhere remove-related 
is used.
If remove-foreign-key is set to yes then we 1st remove, from the WorkEffort 
record, the value linking it to the related entity. Then the EE will not 
prevent to remove the related entity, et voilà.

> The deleteWorkEffort service is incomplete and even wrong
> -
>
> Key: OFBIZ-9185
> URL: https://issues.apache.org/jira/browse/OFBIZ-9185
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> This issue is very old (pre Apache) so all versions are affected (I just 
> tested with R09.04)
> When you try to delete a Workeffort which has an established relationship 
> with a RuntimeData or any of the entities Workeffort has a relation with (eg 
> NoteData, RecurrenceInfo) using the the deleteWorkEffort service this one 
> fails
> Also from my experience CustRequestWorkEffort is missing in deleteWorkEffort, 
> would be to add
> {code}
>  relation-name="CustRequestWorkEffort"/>
> {code}
> Besides (minor) ApplicationSandbox is maybe missing in the implementation of 
> deleteWorkEffort.
> There is indeed a workeffortId in ApplicationSandbox.
> So ApplicationSandbox is indirectly linked to Workeffort by RuntimeData.
> But it can anyway be deleted by a simple delete-by-and (or alike), so not a 
> problem for deleteWorkEffort, though this case could be handled there also.
> Summary: the deleteWorkEffort service  needs more work. The only solution I 
> see is to remove the FK from the Workeffort (ie put null in the related field 
> if it's not) and then deleted the related entity instead of directly calling 
> remove-related



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6919) Birt Report Builder: an enhancement of the Birt component. Easier user possibility of report creation.

2017-01-23 Thread Nicolas Malin (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834235#comment-15834235
 ] 

Nicolas Malin commented on OFBIZ-6919:
--

I approach to a final version :) , I will check if we can create a beautifull 
birt rptDesign

> Birt Report Builder: an enhancement of the Birt component. Easier user 
> possibility of report creation.
> --
>
> Key: OFBIZ-6919
> URL: https://issues.apache.org/jira/browse/OFBIZ-6919
> Project: OFBiz
>  Issue Type: New Feature
>  Components: specialpurpose/birt
>Affects Versions: Trunk
>Reporter: François Wurmser
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Release
>
> Attachments: birt.zip, flexibleBirt.tar.gz, flexibleBirt.tar.gz
>
>
> This is a new implementation of Birt. It allows the creation of "report 
> masters" by the developer, which will in turn let the user create its own 
> reports. Data connection of report is fully generated by OFBiz based on 
> report master. Design is user made.
> Filtering is made via content forms stored in the database ("FORM_COMBINED") 
> data_resource.
> The patch should be available in a few days.
> *Credits:* this feature has been designed by Nicolas Malin, Pierre Gaudin and 
> François Wurmser. It has been implemented by François Wurmser as a Neogia 
> addon and ported by Jacques Le Roux to a custom OFBiz R13 version and then to 
> the OFBiz trunk with simple changes in the framework where it was secured 
> using OWASP security policies.
> *Note:* the BIRT_REPORT_BUILDER_USAGE_POLICY still needs to be completed. For 
> now it's bypassed on "FLEXIBLE_REPORT" contentTypeId, a FIXME exists in Java 
> code



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6919) Birt Report Builder: an enhancement of the Birt component. Easier user possibility of report creation.

2017-01-23 Thread Nicolas Malin (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834235#comment-15834235
 ] 

Nicolas Malin edited comment on OFBIZ-6919 at 1/23/17 10:34 AM:


We approach to a final version :) , I will check if we can create a beautifull 
birt rptDesign


was (Author: soledad):
I approach to a final version :) , I will check if we can create a beautifull 
birt rptDesign

> Birt Report Builder: an enhancement of the Birt component. Easier user 
> possibility of report creation.
> --
>
> Key: OFBIZ-6919
> URL: https://issues.apache.org/jira/browse/OFBIZ-6919
> Project: OFBiz
>  Issue Type: New Feature
>  Components: specialpurpose/birt
>Affects Versions: Trunk
>Reporter: François Wurmser
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Release
>
> Attachments: birt.zip, flexibleBirt.tar.gz, flexibleBirt.tar.gz
>
>
> This is a new implementation of Birt. It allows the creation of "report 
> masters" by the developer, which will in turn let the user create its own 
> reports. Data connection of report is fully generated by OFBiz based on 
> report master. Design is user made.
> Filtering is made via content forms stored in the database ("FORM_COMBINED") 
> data_resource.
> The patch should be available in a few days.
> *Credits:* this feature has been designed by Nicolas Malin, Pierre Gaudin and 
> François Wurmser. It has been implemented by François Wurmser as a Neogia 
> addon and ported by Jacques Le Roux to a custom OFBiz R13 version and then to 
> the OFBiz trunk with simple changes in the framework where it was secured 
> using OWASP security policies.
> *Note:* the BIRT_REPORT_BUILDER_USAGE_POLICY still needs to be completed. For 
> now it's bypassed on "FLEXIBLE_REPORT" contentTypeId, a FIXME exists in Java 
> code



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6919) Birt Report Builder: an enhancement of the Birt component. Easier user possibility of report creation.

2017-01-23 Thread Nicolas Malin (JIRA)

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

Nicolas Malin updated OFBIZ-6919:
-
Attachment: flexibleBirt.tar.gz

New version with Gil improvement 
 * improve java documentation
 * complete missing label
 * optimize birt rptDesign field search generation

> Birt Report Builder: an enhancement of the Birt component. Easier user 
> possibility of report creation.
> --
>
> Key: OFBIZ-6919
> URL: https://issues.apache.org/jira/browse/OFBIZ-6919
> Project: OFBiz
>  Issue Type: New Feature
>  Components: specialpurpose/birt
>Affects Versions: Trunk
>Reporter: François Wurmser
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Release
>
> Attachments: birt.zip, flexibleBirt.tar.gz, flexibleBirt.tar.gz
>
>
> This is a new implementation of Birt. It allows the creation of "report 
> masters" by the developer, which will in turn let the user create its own 
> reports. Data connection of report is fully generated by OFBiz based on 
> report master. Design is user made.
> Filtering is made via content forms stored in the database ("FORM_COMBINED") 
> data_resource.
> The patch should be available in a few days.
> *Credits:* this feature has been designed by Nicolas Malin, Pierre Gaudin and 
> François Wurmser. It has been implemented by François Wurmser as a Neogia 
> addon and ported by Jacques Le Roux to a custom OFBiz R13 version and then to 
> the OFBiz trunk with simple changes in the framework where it was secured 
> using OWASP security policies.
> *Note:* the BIRT_REPORT_BUILDER_USAGE_POLICY still needs to be completed. For 
> now it's bypassed on "FLEXIBLE_REPORT" contentTypeId, a FIXME exists in Java 
> code



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)