Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
Release Branch 4.0
-
None
Description
I update from the latest 4.0 release
all of a suddent the SQL has under scores where it did not before.
example
viewprofile.bsh
Method Invocation delegator.findByAnd : at Line: 86 : in file: component://party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh : delegator .findByAnd ( "PartyNoteView" , UtilMisc .toMap ( "targetPartyId" , partyId ) , UtilMisc .toList ( "-noteDateTime" ) )
now produces
Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT PN.PARTY_ID AS TARGET_PARTY_ID, ND.NOTE_ID AS NOTE_ID, ND.NOTE_NAME AS NOTE_NAME, ND.NOTE_INFO AS NOTE_INFO, ND.NOTE_DATE_TIME AS NOTE_DATE_TIME, ND.NOTE_PARTY AS NOTE_PARTY FROM public.PARTY_NOTE PN INNER JOIN public.NOTE_DATA ND ON PN.NOTE_ID = ND.NOTE_ID WHERE (TARGET_PARTY_ID = ?) ORDER BY NOTE_DATE_TIME DESC (ERROR: column "target_party_id" does not exist)