ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Byers" <bye...@automationgroups.com>
Subject Content Management needs help (was Re: Anyone having problems with images in Content App?)
Date Sat, 14 Oct 2006 23:38:14 GMT
Tim,

I should be the one who replies to this, but I have not looked at the
content stuff for awhile, I am backed up too much to think about it,I think
someone else may have touched it, I am old and I could think of a few more
excuses but that won't help you either. The thing is that content management
is not ready for prime time and needs a refactoring. I am not going to be
getting back to OFBiz for a few more months, and I probably would not be the
one to do it anyway. I am hoping that with OFBiz getting a little more
exposure, someone will step up and redo content management. I will
contribute where I can and I am sure David would answer questions. If there
is anyone who would like to take on this task, I would collaborate on a new
design spec.

-Al

On 10/12/06, Tim Ruppert <tim.ruppert@hotwaxmedia.com> wrote:
>
> I haven't done all of the research that I need to do, but when I try and
> create a data resource of type Image - I am unable to upload the image.
> I get the Upload Image page - and I browse and I say upload image, but
> it appears to just loop back around to the page and leave me in the
> state that I was in when I got there.
>
> Am I doing something wrong here?  Here's the log from when I get to the
> Upload Image Page - and try to upload the file:
>
> ---
>
> WHEN I GET TO THE IMAGE UPLOAD PAGE
>
> 2006-10-12 12:31:24,475 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     ControlServlet.java:90 :INFO ] The character encoding of the
> request is: [null]. The character encoding we will use for the request
> and response is: [UTF-8]
> 2006-10-12 12:31:24,476 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     ControlServlet.java:126:DEBUG] [[[UploadImage] Servlet Starting,
> doing setup- total:0.0,since last(Begin):0.0]]
> 2006-10-12 12:31:24,477 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     ControlServlet.java:175:DEBUG] [[[UploadImage] Setup done, doing
> Event(s) and View(s)- total:0.0,since last([UploadImage] Ser...):0.0]]
> 2006-10-12 12:31:24,507 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.029s:
> jndi:/localhost/content/WEB-INF/controller.xml
> 2006-10-12 12:31:24,510 (http-localhost%2F127.0.0.1-8443-Processor3)
> [    ConfigXMLReader.java:544:INFO ] ConfigMap Created: (4) records in
> 0.0010s
> 2006-10-12 12:31:24,511 (http-localhost%2F127.0.0.1-8443-Processor3)
> [    ConfigXMLReader.java:614:INFO ] HandlerMap Created: (2) records in
> 0.0s
> 2006-10-12 12:31:24,521 (http-localhost%2F127.0.0.1-8443-Processor3)
> [    ConfigXMLReader.java:294:INFO ] RequestMap Created: (309) records
> in 0.0090s
> 2006-10-12 12:31:24,523 (http-localhost%2F127.0.0.1-8443-Processor3)
> [    ConfigXMLReader.java:403:INFO ] ViewMap Created: (129) records in
> 0.0010s
> 2006-10-12 12:31:24,525 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     RequestHandler.java:203:INFO ] [Processing Request]: UploadImage
> 2006-10-12 12:31:24,526 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     RequestManager.java:114:INFO ]
> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
> "UploadImage" not found
> 2006-10-12 12:31:24,527 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     RequestHandler.java:386:INFO ] [RequestHandler.doRequest]:
> Response is a view.
> 2006-10-12 12:31:24,528 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     RequestHandler.java:538:INFO ] servletName=control, view=UploadImage
> 2006-10-12 12:31:24,552 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.022s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceScreens.xml
> 2006-10-12 12:31:24,555 (http-localhost%2F127.0.0.1-8443-Processor3)
> [      ScreenFactory.java:118:INFO ] Got 15 screens in 0.026s from:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceScreens.xml
> 2006-10-12 12:31:24,576 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.018s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/CommonScreens.xml
> 2006-10-12 12:31:24,579 (http-localhost%2F127.0.0.1-8443-Processor3)
> [      ScreenFactory.java:118:INFO ] Got 10 screens in 0.021s from:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/CommonScreens.xml
> 2006-10-12 12:31:24,596 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.015s:
> file:/home/ruppert/sandbox/ofbiz/framework/common/widget/CommonScreens.xml
> 2006-10-12 12:31:24,597 (http-localhost%2F127.0.0.1-8443-Processor3)
> [      ScreenFactory.java:118:INFO ] Got 12 screens in 0.016s from:
> file:/home/ruppert/sandbox/ofbiz/framework/common/widget/CommonScreens.xml
> 2006-10-12 12:31:24,658 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.01s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/ContentMenus.xml
> 2006-10-12 12:31:24,663 (http-localhost%2F127.0.0.1-8443-Processor3) [
> ModelScreenWidget.java:362:INFO ] In the include-screen tag the screen
> name was empty, ignoring include; in screen [GlobalDecorator]
> 2006-10-12 12:31:24,678 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.0090s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceMenus.xml
> 2006-10-12 12:31:24,706 (http-localhost%2F127.0.0.1-8443-Processor3)
> [            UtilXml.java:255:DEBUG] XML Read 0.023s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/webapp/content/data/DataResourceForms.xml
> 2006-10-12 12:31:24,845 (http-localhost%2F127.0.0.1-8443-Processor3)
> [       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
> [ServerHitBin]; curSeqId=10670, maxSeqId=10680, bankSize=10
> 2006-10-12 12:31:24,875 (http-localhost%2F127.0.0.1-8443-Processor3)
> [     ControlServlet.java:250:DEBUG] [[[UploadImage] Done rendering
> page, Servlet Finished- total:0.398,since last([UploadImage] Set...):0.398
> ]]
>
> WHEN I CLICK UPLOAD
>
> 2006-10-12 12:31:45,415 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     ControlServlet.java:90 :INFO ] The character encoding of the
> request is: [null]. The character encoding we will use for the request
> and response is: [UTF-8]
> 2006-10-12 12:31:45,416 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     ControlServlet.java:126:DEBUG] [[[uploadImage] Servlet Starting,
> doing setup- total:0.0,since last(Begin):0.0]]
> 2006-10-12 12:31:45,417 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     ControlServlet.java:175:DEBUG] [[[uploadImage] Setup done, doing
> Event(s) and View(s)- total:0.0010,since last([uploadImage] Ser...):0.0010
> ]]
> 2006-10-12 12:31:45,444 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.025s:
> jndi:/localhost/content/WEB-INF/controller.xml
> 2006-10-12 12:31:45,446 (http-localhost%2F127.0.0.1-8443-Processor4)
> [    ConfigXMLReader.java:544:INFO ] ConfigMap Created: (4) records in
> 0.0010s
> 2006-10-12 12:31:45,447 (http-localhost%2F127.0.0.1-8443-Processor4)
> [    ConfigXMLReader.java:614:INFO ] HandlerMap Created: (2) records in
> 0.0s
> 2006-10-12 12:31:45,454 (http-localhost%2F127.0.0.1-8443-Processor4)
> [    ConfigXMLReader.java:294:INFO ] RequestMap Created: (309) records
> in 0.0070s
> 2006-10-12 12:31:45,456 (http-localhost%2F127.0.0.1-8443-Processor4)
> [    ConfigXMLReader.java:403:INFO ] ViewMap Created: (129) records in
> 0.0010s
> 2006-10-12 12:31:45,457 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:203:INFO ] [Processing Request]: uploadImage
> 2006-10-12 12:31:45,464 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:176:INFO ] in persist... mapKey(0):null
> 2006-10-12 12:31:45,465 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:191:INFO ] in persist...
> contentPurposeList(0):[]
> 2006-10-12 12:31:45,465 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:192:INFO ] in persist... textData(0):null
> 2006-10-12 12:31:45,466 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:202:INFO ] in persist... contentId(0):null
> 2006-10-12 12:31:45,467 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:211:INFO ] in persist...
> dataResourceId(0):10000
> 2006-10-12 12:31:45,468 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:254:INFO ] in persist...
> dataResourceTypeId(0):null
> 2006-10-12 12:31:45,469 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:281:INFO ] in persist...
> contentTypeId:null dataResourceTypeId:null contentId:null
> dataResourceId:10000
> 2006-10-12 12:31:45,470 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:368:INFO ] CREATING contentASSOC
> contentAssocTypeId:null
> 2006-10-12 12:31:45,471 (http-localhost%2F127.0.0.1-8443-Processor4)
> [ContentManagementServices.java:426:INFO ]
> results:[responseMessage=success, contentId=null, dataResourceId=10000,
> contentIdTo=null, fromDate=null, contentAssocTypeId=null,
> drDataResourceId=10000, caContentIdTo=null, caFromDate=null,
> caContentAssocTypeId=null]
> 2006-10-12 12:31:45,473 (http-localhost%2F127.0.0.1-8443-Processor4) [
> ServiceDispatcher.java:450:DEBUG] [[Sync service finished-
> total:0.011,since last(Begin):0.011]] - 'content / persistContentAndAssoc'
> 2006-10-12 12:31:45,487 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:341:INFO ] [RequestHandler.doRequest]:
> Response is a chained request.
> 2006-10-12 12:31:45,488 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:119:INFO ] [RequestHandler]: Chain in place:
> requestUri=UploadImage nextView=null
> 2006-10-12 12:31:45,489 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:203:INFO ] [Processing Request]: UploadImage
> 2006-10-12 12:31:45,490 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestManager.java:114:INFO ]
> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
> "UploadImage" not found
> 2006-10-12 12:31:45,490 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:386:INFO ] [RequestHandler.doRequest]:
> Response is a view.
> 2006-10-12 12:31:45,491 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     RequestHandler.java:538:INFO ] servletName=control, view=UploadImage
> 2006-10-12 12:31:45,509 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.017s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceScreens.xml
> 2006-10-12 12:31:45,511 (http-localhost%2F127.0.0.1-8443-Processor4)
> [      ScreenFactory.java:118:INFO ] Got 15 screens in 0.019s from:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceScreens.xml
> 2006-10-12 12:31:45,529 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.014s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/CommonScreens.xml
> 2006-10-12 12:31:45,531 (http-localhost%2F127.0.0.1-8443-Processor4)
> [      ScreenFactory.java:118:INFO ] Got 10 screens in 0.016s from:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/CommonScreens.xml
> 2006-10-12 12:31:45,546 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.014s:
> file:/home/ruppert/sandbox/ofbiz/framework/common/widget/CommonScreens.xml
> 2006-10-12 12:31:45,547 (http-localhost%2F127.0.0.1-8443-Processor4)
> [      ScreenFactory.java:118:INFO ] Got 12 screens in 0.015s from:
> file:/home/ruppert/sandbox/ofbiz/framework/common/widget/CommonScreens.xml
> 2006-10-12 12:31:45,606 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.0090s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/ContentMenus.xml
> 2006-10-12 12:31:45,610 (http-localhost%2F127.0.0.1-8443-Processor4) [
> ModelScreenWidget.java:362:INFO ] In the include-screen tag the screen
> name was empty, ignoring include; in screen [GlobalDecorator]
> 2006-10-12 12:31:45,625 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.0080s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/widget/content/DataResourceMenus.xml
> 2006-10-12 12:31:45,649 (http-localhost%2F127.0.0.1-8443-Processor4)
> [            UtilXml.java:255:DEBUG] XML Read 0.021s:
>
> file:/home/ruppert/sandbox/ofbiz/applications/content/webapp/content/data/DataResourceForms.xml
> 2006-10-12 12:31:45,678 (http-localhost%2F127.0.0.1-8443-Processor4)
> [     ControlServlet.java:250:DEBUG] [[[uploadImage] Done rendering
> page, Servlet Finished- total:0.262,since last([uploadImage] Set...):0.261
> ]]
>
> ---
>
> Is this the problem?  Value for attribute "null" of uri "UploadImage"
> not found
>
> What would be causing this?  I'm pretty up to date - probably a couple
> weeks back, but I haven't seen any modifications to this module in that
> time, so I don't think it's an issue.
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message