You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/08/30 07:19:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17877990#comment-17877990 ] 

ASF subversion and git services commented on OFBIZ-13127:
---------------------------------------------------------

Commit 693da97fba82ee5d44840c8423770d209c950d50 in ofbiz-framework's branch refs/heads/trunk from Mekika Leila
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=693da97fba ]

Fixed: Display of grid and forms within a same xml file (OFBIZ-13127) (#828)

This correct display of form extending a form within a file containing a
grid

Co-authored-by: Leila <le...@nereide.fr>

> 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
>            Assignee: 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)