[jira] Created: (OFBIZ-2647) cannot access the HR application completely

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

[jira] Created: (OFBIZ-2647) cannot access the HR application completely

Nicolas Malin (Jira)
cannot access the HR application completely
-------------------------------------------

                 Key: OFBIZ-2647
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2647
             Project: OFBiz
          Issue Type: Bug
          Components: humanres
            Reporter: saravanan
            Priority: Minor


Hi,

I am getting an error message in HR application,

    * when i enter party ID in the employees module as Demo Employee,
    * it will take me to the profile screen, where showing the personal information and contact information,
    * Below the contact information i found this error message showing


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml] (Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml])

can u please help me out regarding this

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Created: (OFBIZ-2647) cannot access the HR application completely

Abhinav Vaid
Hi

Actually the screen i.e. "contactsAndAccounts" is missing in the ProfileScreens of Party module.
I hope Community people will commit their next build with this screen. For now you can include this screen in ProfileScreens.xml and it should work fine.

<screen name="contactsAndAccounts">
        <section>
            <actions>
                <set field="partyId" from-field="parameters.partyId"/>
                <entity-and list="contacts" entity-name="PartyRelationship">
                    <field-map field-name="partyIdFrom" from-field="parameters.partyId"/>
                    <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                    <field-map field-name="roleTypeIdTo" value="CONTACT"/>
                </entity-and>
                <entity-and list="accounts" entity-name="PartyRelationship">
                    <field-map field-name="partyIdTo" from-field="parameters.partyId"/>
                    <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                    <field-map field-name="roleTypeIdTo" value="CONTACT"/>
                </entity-and>
            </actions>
            <widgets>
                <section>
                    <condition>
                        <not><if-empty field="contacts"/></not>
                    </condition>
                    <widgets>
                        <screenlet title="${uiLabelMap.PartyListRelatedContacts}" navigation-form-name="ListContacts">
                            <include-form name="ListRelatedContacts" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                        </screenlet>
                    </widgets>
                </section>
                <section>
                    <condition>
                        <not><if-empty field="accounts"/></not>
                    </condition>
                    <widgets>
                        <screenlet title="${uiLabelMap.PartyListRelatedAccounts}" navigation-form-name="ListAccounts">
                            <include-form name="ListRelatedAccounts" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                        </screenlet>
                    </widgets>
                </section>
            </widgets>
        </section>
    </screen>

Regards
Abhinav Vaid
iLabs, L & T Infotech Ltd.
Mumbai.

JIRA jira@apache.org wrote
cannot access the HR application completely
-------------------------------------------

                 Key: OFBIZ-2647
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2647
             Project: OFBiz
          Issue Type: Bug
          Components: humanres
            Reporter: saravanan
            Priority: Minor


Hi,

I am getting an error message in HR application,

    * when i enter party ID in the employees module as Demo Employee,
    * it will take me to the profile screen, where showing the personal information and contact information,
    * Below the contact information i found this error message showing


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml] (Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml])

can u please help me out regarding this

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2647) cannot access the HR application completely

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Hans Bakker closed OFBIZ-2647.
------------------------------

    Resolution: Fixed

thank you for reporting, fixed in revision 787899.

> cannot access the HR application completely
> -------------------------------------------
>
>                 Key: OFBIZ-2647
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2647
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>            Reporter: saravanan
>            Priority: Minor
>
> Hi,
> I am getting an error message in HR application,
>     * when i enter party ID in the employees module as Demo Employee,
>     * it will take me to the profile screen, where showing the personal information and contact information,
>     * Below the contact information i found this error message showing
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml] (Could not find screen with name [contactsAndAccounts] in class resource [component://party/widget/partymgr/ProfileScreens.xml])
> can u please help me out regarding this

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.