Not yet (or I can remember) but feel free to create one
Thks
Jacques
From: "Stephen Rufle" <[email protected]>
Is there an ongoing issue that has been created so janitorial patches
can be submitted?
I have attached an example.
Jacques Le Roux wrote:
There are a bunch of tags which have been recently deprecated. That's
why it's still working (ie the DTD found them false but they are
always taken into account in java classes).
We are still working to remove these deprecated tags but it's not an
huge priority
Jacques
From: "Stephen Rufle" <[email protected]>
While trying to add returning partyId from
/ofbiz/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml#createAccount
I found that in eclipse PartySimpleMethods.xml had a bunch of errors.
Looks to me not to conform to the specified dtd. Is this an issue that
is being worked on, or would a patch be helpful? As a side not why does
the system still work even though these errors exist?
File I am talking about
/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml
Description Resource Path Location Type
cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear
in element 'field-to-result'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 91 XML
Problem
cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear
in element 'field-to-result'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 92 XML
Problem
cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear
in element 'result-to-field'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 121 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 26 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 40 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 68 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 70 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'result-to-field'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 80 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'result-to-field'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 189 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 28 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 32 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 25 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 39 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 76 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 78 XML
Problem
cvc-complex-type.3.2.2: Attribute 'map-name' is not allowed to appear in
element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 193 XML
Problem
cvc-complex-type.3.2.2: Attribute 'to-map-name' is not allowed to appear
in element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 76 XML
Problem
cvc-complex-type.3.2.2: Attribute 'to-map-name' is not allowed to appear
in element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 78 XML
Problem
cvc-complex-type.3.2.2: Attribute 'to-map-name' is not allowed to appear
in element 'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 193 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'create-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 33 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'create-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 71 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'entity-one'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 84 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'entity-one'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 89 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 26 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 40 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 68 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 24 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 38 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 70 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'remove-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 42 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 28 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 32 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 25 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 39 XML
Problem
cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear
in element 'store-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 29 XML
Problem
cvc-complex-type.4: Attribute 'field' must appear on element
'field-to-result'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 91 XML
Problem
cvc-complex-type.4: Attribute 'field' must appear on element
'field-to-result'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 92 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 26 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 40 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 68 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 76 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 78 XML
Problem
cvc-complex-type.4: Attribute 'map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 193 XML
Problem
cvc-complex-type.4: Attribute 'to-map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 76 XML
Problem
cvc-complex-type.4: Attribute 'to-map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 78 XML
Problem
cvc-complex-type.4: Attribute 'to-map' must appear on element
'set-service-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 193 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'create-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 33 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'create-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 71 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'entity-one'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 84 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'entity-one'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 89 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 26 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 40 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'find-by-primary-key'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 68 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 24 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 38 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'make-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 70 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'remove-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 42 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 28 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'set-nonpk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 32 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 25 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'set-pk-fields'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 39 XML
Problem
cvc-complex-type.4: Attribute 'value-field' must appear on element
'store-value'. PartySimpleMethods.xml
ofbiz/applications/party/script/org/ofbiz/party/party line 29 XML
Problem
--
Stephen P Rufle
[email protected]
H1:480-626-8022
H2:480-802-7173
Yahoo IM: stephen_rufle
AOL IM: stephen1rufle
--------------------------------------------------------------------------------
### Eclipse Workspace Patch 1.0
#P ofbiz
Index: applications/party/webapp/partymgr/communication/CommForms.xml
===================================================================
--- applications/party/webapp/partymgr/communication/CommForms.xml (revision
739058)
+++ applications/party/webapp/partymgr/communication/CommForms.xml (working
copy)
@@ -121,18 +121,18 @@
<form name="NewEmail" type="single" target="createCommunicationEvent"
default-map-name="communicationEvent">
<actions>
<set field="nowDate"
value="${bsh:org.ofbiz.base.util.UtilDateTime.nowDateString("yyyy-MM-dd
HH:mm:ss.S")}"
type="String"/>
- <entity-condition entity-name="PartyContactWithPurpose"
list-name="emailAddresses">
+ <entity-condition entity-name="PartyContactWithPurpose"
list="emailAddresses">
<condition-list combine="and">
<condition-expr field-name="partyId"
value="${userLogin.partyId}"/>
- <condition-expr field-name="contactFromDate" operator="less-equals"
env-name="nowDate"/>
+ <condition-expr field-name="contactFromDate" operator="less-equals"
value="" from-field="nowDate"/>
<condition-list combine="or">
- <condition-expr field-name="contactThruDate"
env-name="null"/>
- <condition-expr field-name="contactThruDate"
operator="greater-equals" env-name="nowDate"/>
+ <condition-expr field-name="contactThruDate"
from-field="null"/>
+ <condition-expr field-name="contactThruDate"
operator="greater-equals" from-field="nowDate"/>
</condition-list>
- <condition-expr field-name="purposeFromDate" operator="less-equals"
env-name="nowDate"/>
+ <condition-expr field-name="purposeFromDate" operator="less-equals"
from-field="nowDate"/>
<condition-list combine="or">
- <condition-expr field-name="purposeThruDate"
operator="greater-equals" env-name="nowDate"/>
- <condition-expr field-name="purposeThruDate"
env-name="null"/>
+ <condition-expr field-name="purposeThruDate"
operator="greater-equals" from-field="nowDate"/>
+ <condition-expr field-name="purposeThruDate"
from-field="null"/>
</condition-list>
<condition-expr field-name="contactMechPurposeTypeId" operator="equals"
value="PRIMARY_EMAIL"/>
<condition-expr field-name="contactMechTypeId" operator="equals"
value="EMAIL_ADDRESS"/>
@@ -162,11 +162,11 @@
</form>
<form name="ViewEmail" type="single" default-map-name="communicationEvent">
<actions>
- <entity-one entity-name="ContactMech" value-name="contactMechFrom">
- <field-map field-name="contactMechId"
env-name="communicationEvent.contactMechIdFrom"/>
+ <entity-one entity-name="ContactMech"
value-field="contactMechFrom">
+ <field-map field-name="contactMechId"
from-field="communicationEvent.contactMechIdFrom"/>
</entity-one>
- <entity-one entity-name="ContactMech" value-name="contactMechTo">
- <field-map field-name="contactMechId"
env-name="communicationEvent.contactMechIdTo"/>
+ <entity-one entity-name="ContactMech" value-field="contactMechTo">
+ <field-map field-name="contactMechId"
from-field="communicationEvent.contactMechIdTo"/>
</entity-one>
</actions>
<field name="communicationEventId">
@@ -313,9 +313,9 @@
<form name="ListPartyCommEvents" type="list" extends="ListCommEvents"
header-row-style="header-row-2" odd-row-style="alternate-row"
default-table-style="basic-table hover-bar">
<actions>
- <entity-condition entity-name="CommunicationEvent"
list-name="commEvents">
+ <entity-condition entity-name="CommunicationEvent"
list="commEvents">
<condition-list combine="and">
- <condition-expr env-name="" field-name="statusId" operator="not-equals"
value="COM_PENDING"/>
+ <condition-expr from-field="" field-name="statusId"
operator="not-equals" value="COM_PENDING"/>
<condition-list combine="or">
<condition-expr field-name="partyIdFrom" operator="equals"
value="${partyId}"/>
<condition-expr field-name="partyIdTo" operator="equals"
value="${partyId}"/>
@@ -331,13 +331,13 @@
<form name="ListPendingCommEvents" type="list" extends="ListCommEvents"
odd-row-style="alternate-row"
default-table-style="basic-table hover-bar">
<actions>
- <entity-condition entity-name="CommunicationEvent"
list-name="commEvents">
+ <entity-condition entity-name="CommunicationEvent"
list="commEvents">
<condition-list combine="and">
<condition-list combine="or">
<condition-expr field-name="partyIdFrom" operator="equals"
value="${partyId}"/>
<condition-expr field-name="partyIdTo" operator="equals"
value="${partyId}"/>
</condition-list>
- <condition-expr env-name="" field-name="statusId" operator="equals"
value="COM_PENDING"/>
+ <condition-expr from-field="" field-name="statusId" operator="equals"
value="COM_PENDING"/>
</condition-list>
</entity-condition>
</actions>
@@ -346,7 +346,7 @@
<form name="ListUnknownPartyEmails" extends="ListCommEvents" type="multi"
use-row-submit="true" separate-columns="true"
target="deleteCommunicationEvents?communicationEventId=${communicationEventId}&delContentDataResource=Y">
<actions>
- <entity-and list-name="commEvents"
entity-name="CommunicationEvent">
+ <entity-and list="commEvents" entity-name="CommunicationEvent">
<field-map field-name="statusId" value="COM_UNKNOWN_PARTY"/>
<order-by field-name="-lastUpdatedStamp" />
</entity-and>
@@ -361,7 +361,7 @@
<form name="ListChildCommEvents" type="list" extends="ListCommEvents"
paginate-target="EditCommunicationEvent">
<actions>
- <entity-condition entity-name="CommunicationEvent"
list-name="commEvents">
+ <entity-condition entity-name="CommunicationEvent"
list="commEvents">
<condition-list combine="or">
<condition-expr field-name="parentCommEventId" operator="equals"
value="${communicationEventId}"/>
<condition-expr field-name="origCommEventId" operator="equals"
value="${communicationEventId}"/>
@@ -372,9 +372,9 @@
<form name="ListLookupCommEvents" type="list" list-name="listIt"
extends="ListCommEvents" header-row-style="header-row-2">
<actions>
- <service result-map-list-name="listIt" result-map-name="result"
service-name="performFind">
- <field-map env-name="parameters" field-name="inputFields"/>
- <field-map env-name="entityName" field-name="entityName"/>
+ <service result-map-list="listIt" result-map="result"
service-name="performFind">
+ <field-map from-field="parameters" field-name="inputFields"/>
+ <field-map from-field="entityName" field-name="entityName"/>
<field-map value="-createdStamp" field-name="orderBy"/>
</service>
</actions>
@@ -446,7 +446,7 @@
odd-row-style="alternate-row" default-table-style="basic-table
hover-bar">
<actions>
<entity-and entity-name="CommunicationEventRole" use-cache="true">
- <field-map field-name="communicationEventId"
env-name="parameters.communicationEventId"/>
+ <field-map field-name="communicationEventId"
from-field="parameters.communicationEventId"/>
</entity-and>
</actions>
<field name="partyId" title="${uiLabelMap.PartyPartyId}">
@@ -483,8 +483,8 @@
<form name="listCommContent" type="list" list-name="contentDataResourceList"
paginate-target="/ListCommContent"
odd-row-style="alternate-row" default-table-style="basic-table
hover-bar">
<actions>
- <entity-and entity-name="CommEventContentDataResource"
list-name="contentDataResourceList">
- <field-map field-name="communicationEventId"
env-name="parameters.communicationEventId"/>
+ <entity-and entity-name="CommEventContentDataResource"
list="contentDataResourceList">
+ <field-map field-name="communicationEventId"
from-field="parameters.communicationEventId"/>
</entity-and>
</actions>
<field name="contentName" widget-style="smallSubmit">