You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mekika Leila (Jira)" <ji...@apache.org> on 2024/07/19 15:49:00 UTC
[jira] [Updated] (OFBIZ-13127) Correction of form display when there are grid and forms combination within a same xml file
[ https://issues.apache.org/jira/browse/OFBIZ-13127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mekika Leila updated OFBIZ-13127:
---------------------------------
Summary: Correction of form display when there are grid and forms combination within a same xml file (was: Fixed: Correction of form display when there are grid and forms combination within a same xml file)
> Correction of form display when there are grid and forms combination within a same xml file
> -------------------------------------------------------------------------------------------
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS
> Affects Versions: Upcoming Branch
> Reporter: Mekika Leila
> Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be several cases that can provoke a bad display of a form due to mixed type combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently deterioring display of existing screens.
> ( for instance in the current screen: https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not display any informations anymore)
> But for the first case that is more corresponding to a real bug, for compatibility purpose I propose to fix it by adding a check both in ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull request
--
This message was sent by Atlassian Jira
(v8.20.10#820010)