[jira] [Commented] (OFBIZ-7560) While adding new skill to any party the old skills are get disappeared from the party skill list

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

[jira] [Commented] (OFBIZ-7560) While adding new skill to any party the old skills are get disappeared from the party skill list

Nicolas Malin (Jira)

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

Montalbano Florian commented on OFBIZ-7560:
-------------------------------------------

Hi,
the skills don't appear in the list but there are not deleted.
They don't appear because when we call a create or a delete action (update too), more data are sent by the request.
In the form where the list is created (PartySkillForms#ListPartySkills), a regular "performFind" is called to retrieve the list. It uses the parameters from the request to do that.
So, when we arrive on the screen the first time, only the partyId is send. But then, upon creation of a new skill, the skillTypeId, the rating, etc... are sent too. The "performFind" tries then to retrieve all the skills matching every parameters of the request (with a AND condition). That's why upon creation, only the created one appears and that upon deletion, there is nothing.

To correct that, we can either create a specific service or nullify the paramter of the request in the form retrieving the list. What do you think ?

> While adding new skill to any party the old skills are get disappeared from the party skill list
> ------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7560
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7560
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Deepak Baghel
>            Assignee: Deepak Baghel
>            Priority: Minor
>         Attachments: Party_Skills 1.png, Party_Skills 2.png, Party_Skills 3.png
>
>
> Step to regenerate
> 1. Login into party component.
> 2. Go to the party skill section and add skills.
> 3. If there is already any skill then after adding the new skill all the other skills get disappeared from the list.
> 4. The Same thing can be seen after updating and deletion of already existing skill.



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