Commit Graph
12 Commits
Author SHA1 Message Date
Nicolas Malin 96ed02fae4 Create demo PartyStatus data for existing parties for applications component, thanks to Suraj Khurana for the submission through OFBIZ-7673
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753797 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 14:22:32 +00:00
Jacques Le Roux 64f269665e A patch from Petr Pytelka for "upload content at party profile is not working" https://issues.apache.org/jira/browse/OFBIZ-5202
I tried to upload content at party profile screen with purpose "Logo Image URL" and Is public "YES" but i got the following exception
---- exception report ----------------------------------------------------------
ERROR: Could not complete the Create Content Alternative URLs. [file:/media/68C2E6E0C2E6B18C/Work/Developers_foundation/Workspace/OFBiz/ofbiz/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createContentAlternativeUrl] process [problem invoking the [createContent] service with the map named [contentCtx] containing [{dataResourceId=10001, statusId=CTNT_IN_PROGRESS, localeString=en_US, userLogin=[GenericEntity:UserLogin][createdStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][createdTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][lastUpdatedTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)], locale=en_US}]: The following required parameter is missing: [IN] [createContentRole.partyId]]
Exception: org.ofbiz.service.ServiceValidationException
Message: The following required parameter is missing: [IN] [createContentRole.partyId]

jleroux: 
I see no reasons to not move the lines
<!-- Party for System UserLogin Account - just in case logic depends on it -->
<Party partyId="system" partyTypeId="PERSON"/>
<Person partyId="system" firstName="System" lastName="Account"/>

from UserDemoData.xml to SecurityPermissionSeedData.xml

This patch  allows to load data for party "system" when load-extseed is called.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506269 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 20:44:10 +00:00
Jacques Le Roux 5709385ad6 Followed Scott"s suggestion and added a generic EMAIL_PASSWORD EmailTemplateSetting (used to send a new password at user request)
I finally kept also the previous way because it allow an easier 18n of at the email subject.

Still the same concern: OOTB, if the user has not set a SMPT server in general.properties for the defaultFromEmailAddress the message "A new password has been created and sent to you. Please check your Email." when actually nothing happens. But that's anyway user's responsibility

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310716 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 09:17:41 +00:00
Adrian Crum 39611c4c9f Moved some security related demo data from the applications/securityext folder to the framework/security folder. This change accommodates logging in as admin in a framework-only demo installation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050053 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 16:45:47 +00:00
Jacopo Cappellato 1a6d504e5a Anonymous UserLogin is referenced by services in various components, so I have moved it into a file that is loaded with seed data; also removed unnecessary password and set is as not enabled since it will not be used to log into the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829464 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 23:14:59 +00:00
Ashish Vijaywargiya 170aa8100a Adding more data to test role based permissions on catalog manager.
For testing this you can login by user ltdadmin & ltdadmin1.
And then can update records in consecutive tabs present in the EditProduct screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795728 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 09:40:55 +00:00
Scott Gray 5bd4d1a388 Fix a problem with the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779889 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 08:18:53 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacopo Cappellato 98e71f1922 Misc cleanups for data files:
1) added {SHA} prefix to all hashed passwords
2) moved "admin" user to demo data; the only user maintained with seed data is now the "system" user
3) removed password for the "system" user; now there are no passwords in seed data



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:40:55 +00:00
Adrian Crum 9684b69ee5 Moved blog and order component demo data out of the securityext component - OFBIZ-813.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557077 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 22:27:04 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Hans Bakker 90cadf7981 move all parties/userLogins not required for production from seed to demo data. Only party/Userlogin 'admin' as usable loginId left
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442409 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:40:22 +00:00