In this and similar commits today I have fixed a few broken declarations 
associated to missing resources.
I discovered them reviewing the output of the "artifact info" tool (it is still 
a useful tool).

The following are issues that I was not able to fix and maybe the contributor 
of theoriginal code could help to remove these entries or contribute the 
missing resources; here they are:

1) 
org.ofbiz.base.util.GeneralException: Controller request with name [main] is 
not defined in controller file 
[file:framework/common/webcommon/WEB-INF/portal-controller.xml].

2) 
Error loading screen [SprintList] from resource 
[component://scrum/widget/scrumScreens.xml]: 
org.ofbiz.base.util.GeneralException: java.lang.IllegalArgumentException: Could 
not find screen with name [SprintList] in class resource 
[component://scrum/widget/scrumScreens.xml] (Could not find screen with name 
[SprintList] in class resource [component://scrum/widget/scrumScreens.xml])

3) 
Error loading screen [ListProductStoreFacilityFormOnly] from resource 
[component://product/widget/catalog/StoreScreens.xml]: 
org.ofbiz.base.util.GeneralException: java.lang.IllegalArgumentException: Could 
not find screen with name [ListProductStoreFacilityFormOnly] in class resource 
[component://product/widget/catalog/StoreScreens.xml] (Could not find screen 
with name [ListProductStoreFacilityFormOnly] in class resource 
[component://product/widget/catalog/StoreScreens.xml])

Kind regards,

Jacopo

Begin forwarded message:

> From: [email protected]
> Subject: svn commit: r1364247 - in /ofbiz/trunk: 
> applications/commonext/script/org/ofbiz/ 
> applications/content/webapp/content/WEB-INF/ 
> framework/common/webcommon/WEB-INF/ 
> specialpurpose/example/webapp/example/WEB-INF/ 
> specialpurpose/scrum/servicedef/
> Date: July 22, 2012 11:54:03 AM GMT+02:00
> To: [email protected]
> Reply-To: [email protected]
> 
> Author: jacopoc
> Date: Sun Jul 22 09:54:02 2012
> New Revision: 1364247
> 
> URL: http://svn.apache.org/viewvc?rev=1364247&view=rev
> Log:
> Removed invalid references to non existing resources.
> 
> Modified:
>    ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml
>    ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
>    ofbiz/trunk/framework/common/webcommon/WEB-INF/portal-controller.xml
>    ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/controller.xml
>    ofbiz/trunk/specialpurpose/scrum/servicedef/services.xml
> 
> Modified: 
> ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml?rev=1364247&r1=1364246&r2=1364247&view=diff
> ==============================================================================
> --- 
> ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml 
> (original)
> +++ 
> ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml 
> Sun Jul 22 09:54:02 2012
> @@ -49,7 +49,6 @@ under the License.
> 
>     <simple-method method-name="deleteSystemInfoNote" 
> short-description="Delete SystemInfo Note">
>         <entity-one value-field="noteData" entity-name="NoteData"/>
> -        <remove-related relation-name="ContentNote" value-field="noteData"/>
>         <remove-related relation-name="CustRequestItemNote" 
> value-field="noteData"/>
>         <remove-related relation-name="CustRequestNote" 
> value-field="noteData"/>
>         <remove-related relation-name="MarketingCampaignNote" 
> value-field="noteData"/>
> 
> Modified: 
> ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?rev=1364247&r1=1364246&r2=1364247&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml 
> (original)
> +++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml 
> Sun Jul 22 09:54:02 2012
> @@ -1843,12 +1843,6 @@ under the License.
>         <response name="success" type="view" value="EditContentKeywords"/>
>         <response name="error" type="view" value="EditContentKeywords"/>
>     </request-map>
> -    <request-map uri="createContentKeywords">
> -        <security https="true" auth="true"/>
> -        <event type="service" invoke="createContentKeywords"/>
> -        <response name="success" type="view" value="EditContentKeywords"/>
> -        <response name="error" type="view" value="EditContentKeywords"/>
> -    </request-map>
>     <request-map uri="deleteContentKeywords">
>         <security https="true" auth="true"/>
>         <event type="service" invoke="deleteContentKeywords"/>
> 
> Modified: ofbiz/trunk/framework/common/webcommon/WEB-INF/portal-controller.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/portal-controller.xml?rev=1364247&r1=1364246&r2=1364247&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/common/webcommon/WEB-INF/portal-controller.xml 
> (original)
> +++ ofbiz/trunk/framework/common/webcommon/WEB-INF/portal-controller.xml Sun 
> Jul 22 09:54:02 2012
> @@ -27,10 +27,6 @@ under the License.
>         <security https="true" auth="true"/>
>         <response name="success" type="view" value="showPortlet"/>
>     </request-map>
> -    <request-map uri="refreshPortlet">
> -        <security https="true" auth="true"/>
> -        <response name="success" type="view" 
> value="showPortletUiLabelDecorator"/>
> -    </request-map>
>     <request-map uri="showPortletMainDecorator">
>         <security https="true" auth="true"/>
>         <response name="success" type="view" 
> value="showPortletMainDecorator"/>
> @@ -82,12 +78,6 @@ under the License.
>         <response name="success" type="view-last" value="main" 
> save-last-view="true"/>
>         <response name="error" type="request" value="main"/>
>     </request-map>
> -    <request-map uri="updatePortalPagePortletSeq">
> -        <security https="true" auth="true"/>
> -        <event type="service" invoke="updatePortalPagePortletSeq"/>
> -        <response name="success" type="view-last" value="main" 
> save-last-view="true"/>
> -        <response name="error" type="request" value="main"/>
> -    </request-map>
>     <request-map uri="updatePortletSeqDragDrop">
>         <security https="true" auth="true"/>
>         <event type="service" invoke="updatePortletSeqDragDrop"/>
> @@ -170,7 +160,6 @@ under the License.
>     <!-- View Mappings -->
>     <view-map name="showPortalPage" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#showPortalPage"/>
>     <view-map name="showPortlet" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#showPortlet"/>
> -    <view-map name="showPortletUiLabelDecorator" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#showPortletUiLabelDecorator"/>
>     <view-map name="showPortletMainDecorator" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#showPortletMainDecorator"/>
>     <view-map name="showPortletSimpleDecorator" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#showPortletSimpleDecorator"/>
>     <view-map name="ManagePortalPages" type="screen" 
> page="component://common/widget/PortalPageScreens.xml#ManagePortalPages"/>
> 
> Modified: 
> ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/controller.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/controller.xml?rev=1364247&r1=1364246&r2=1364247&view=diff
> ==============================================================================
> --- ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/controller.xml 
> (original)
> +++ ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/controller.xml 
> Sun Jul 22 09:54:02 2012
> @@ -192,7 +192,6 @@ under the License.
>     <request-map uri="FormWidgetExamples"><security https="true" 
> auth="true"/><response name="success" type="view" 
> value="FormWidgetExamples"/></request-map>
> 
>     <request-map uri="LookupExampleFeature"><security https="true" 
> auth="true"/><response name="success" type="view" 
> value="LookupExampleFeature"/></request-map>
> -    <request-map uri="LookupPartyName"><security https="true" 
> auth="true"/><response name="success" type="view" 
> value="LookupPartyName"/></request-map>
>     <request-map uri="LookupPartyGroupByName"><security https="true" 
> auth="true"/><response name="success" type="view" 
> value="LookupPartyGroupByName"/></request-map>
> 
>     <request-map uri="ListExampleFormOnly"><security https="true" 
> auth="false"/><response name="success" type="view" 
> value="ListExampleFormOnly"/></request-map>
> @@ -237,7 +236,6 @@ under the License.
>     <view-map name="FormWidgetExamples" type="screen" 
> page="component://example/widget/example/FormWidgetExampleScreens.xml#FormWidgetExamples"/>
> 
>     <view-map name="LookupExampleFeature" type="screen" 
> page="component://example/widget/example/ExampleFeatureScreens.xml#LookupExampleFeature"/>
> -    <view-map name="LookupPartyName" type="screen" 
> page="component://example/widget/example/FormWidgetExampleLookupScreens.xml#LookupPartyName"/>
>     <view-map name="LookupPartyGroupByName" type="screen" 
> page="component://example/widget/example/FormWidgetExampleLookupScreens.xml#LookupPartyGroupByName"/>
> 
>     <!-- ajax view mappings -->
> 
> Modified: ofbiz/trunk/specialpurpose/scrum/servicedef/services.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/servicedef/services.xml?rev=1364247&r1=1364246&r2=1364247&view=diff
> ==============================================================================
> --- ofbiz/trunk/specialpurpose/scrum/servicedef/services.xml (original)
> +++ ofbiz/trunk/specialpurpose/scrum/servicedef/services.xml Sun Jul 22 
> 09:54:02 2012
> @@ -217,10 +217,6 @@ under the License.
>         <auto-attributes include="pk" mode="IN" optional="false"/>
>         <attribute name="hours" type="Double" mode="OUT" optional="true"/>
>     </service>
> -    <service name="createDefaultTask" engine="simple" 
> invoke="createDefaultTask" auth="true"
> -        
> location="component://scrum/script/org/ofbiz/scrum/ScrumServices.xml">
> -        <attribute name="custRequestId" type="String" mode="IN" 
> optional="false"/>
> -    </service>
>     <service name="checkSprintStatus" engine="simple" auth="true"
>         location="component://scrum/script/org/ofbiz/scrum/ScrumServices.xml" 
> invoke="checkSprintStatus">
>     </service>
> 
> 

Reply via email to