Ok I don't want to open this again since it works on the demo site. however I have updated to svn 680740 ant clean-all and ant run-install on the content createWebSite I put in bjfreemanteststore for websiteID and site name https://demo.hotwaxmedia.com/content/control/createWebSite works. however on my local copy it comes back with CommonCannotBeFound: [bjfreemanteststore] in the tool tips. Now I have traced this down to there is no commonuilabels defined for this widget, so I am gettting <field use-when="webSite==null&&webSiteId!=null" name="webSiteId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${webSiteId}]"><text size="20" maxlength="20"/></field> I am using admin login as you see it says the webSiteId = bjfreemanteststore yet is evaluates the field as null.
I have even gone as far as to take the text version from http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteForms.xml?view=co&content-type=text%2Fplain and paste in the one on my machine. the results at the same it won't create the website. there is no error in my logs BJ Freeman (JIRA) sent the following on 7/25/2008 2:17 PM: > [ > https://issues.apache.org/jira/browse/OFBIZ-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > BJ Freeman updated OFBIZ-1892: > ------------------------------ > > Attachment: (was: createwebsitefix.patch) > >> cant create website >> ------------------- >> >> Key: OFBIZ-1892 >> URL: https://issues.apache.org/jira/browse/OFBIZ-1892 >> Project: OFBiz >> Issue Type: Bug >> Components: content >> Affects Versions: SVN trunk >> Reporter: BJ Freeman >> Assignee: Bilgin Ibryam >> Priority: Minor >> Fix For: SVN trunk >> >> >> Ok here it is. >> https://localhost:8443/content/control/EditWebSite >> uses the Storename in the Product Store ID box and passes that instead >> of the productstoreID so it has a PFK error. >> ---- exception report >> ---------------------------------------------------------- >> Failure in create operation for entity [WebSite]: >> org.ofbiz.entity.GenericEntityException: Error while inserting: >> [GenericEntity:WebSite][allowProductStoreChange,null()][cookieDomain,bjfreemanteststore(java.lang.String)][createdStamp,2008-07-23 >> 14:04:10.593(java.sql.Timestamp)][createdTxStamp,2008-07-23 >> 14:04:10.593(java.sql.Timestamp)][enableHttps,null()][httpHost,null()][httpPort,null()][httpsHost,null()][httpsPort,null()][lastUpdatedStamp,2008-07-23 >> 14:04:10.593(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-23 >> 14:04:10.593(java.sql.Timestamp)][productStoreId,bjfreemanteststore(java.lang.String)][secureContentPrefix,null()][siteName,bjfreemanteststore(java.lang.String)][standardContentPrefix,null()][webSiteId,bjfreemanteststore(java.lang.String)] >> (SQL Exception while executing the following:INSERT INTO OFBIZ.WEB_SITE >> (WEB_SITE_ID, SITE_NAME, ALLOW_PRODUCT_STORE_CHANGE, HTTP_HOST, >> HTTP_PORT, HTTPS_HOST, HTTPS_PORT, ENABLE_HTTPS, >> STANDARD_CONTENT_PREFIX, SECURE_CONTENT_PREFIX, COOKIE_DOMAIN, >> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >> CREATED_TX_STAMP, PRODUCT_STORE_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, >> ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'WEB_SITE' caused a violation of >> foreign key constraint 'WEB_SITE_PRDS' for key (bjfreemanteststore). >> The statement has been rolled back.)). Rolling back transaction. >