Re: [Hypercontent-users] Schedule update error
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-08-29 13:54:34
|
With that href you should see details on the right hand side like =20 this (I just did this using the same script in my environment) History 8/29/07 9:47:49 AM Schedule Appearance by you Current Queues /workflow-data/queues/principal/alex /workflow-data/queues/schedule/scheduled Attributes start-edition =3D 2 href =3D https://server.net/project/workflow-data/work/1p/xi/dv/8j/hf/=20= 1pxidv8jhfkw.ser?mode=3Dwork-details pre-edition =3D 1 end-date =3D 2007-08-29 09:50 scheduler =3D alex start-date =3D 2007-08-29 09:49 end-edition =3D 1 This is exactly the same screen that appears when you click "more =20 details" on the lower left hand side of the screen. Does that link =20 work for you? The template for that screen is located in the =20 bootstrap project at /screens/work-details.vm. You should make sure that you have enabled "read" permissions for =20 files matching /workflow-data/**/*.* for authors and other relevant =20 groups that should be able to see workflow details. See my last =20 message about permissions inheritance; you may be unintentionally =20 blocking access to the screen. Alex On Aug 28, 2007, at 9:42 PM, tom tom wrote: > Hi Alex, > > I did what you stated, the error disappeared but it > shows a blank page in the right hand side, should it > show the updated schedule entries instead of a blank > page. > > Following is the top entries of the xml with your > change, should I have the change some where down? > > workflow binding=3D"/**/*.*"> > =E2=88=92 > <event name=3D"schedule-appearance" > permissions=3D"approve"> > > <variable name=3D"href" > value=3D"${abs-server-base}${work-path}?mode=3Dwork-details"/> > > <input label=3D"Please enter a beginning date as > YYYY-MM-DD [00-23]:[00-59]" name=3D"start-date" > pattern=3D"\d\d\d\d-\d\d-\d\d \d\d:\d\d" type=3D"text"/> > > <input label=3D"Please enter an ending date" > name=3D"end-date" pattern=3D"\d\d\d\d-\d\d-\d\d \d\d:\d\d" > type=3D"text"/> > > <input default=3D"-1" label=3D"Please enter the edition to > appear before the start date (-1 for invisible)" > name=3D"pre-edition" type=3D"text"/> > > > --- Alex Vigdor <al...@bi...> wrote: > >> Hi , >> "href" is a property of a work item that indicates >> what should be >> displayed in the right hand pane of the workflow >> screen. Since >> "href" is not set in that script, you are seeing the >> "file not found" >> error - this is actually harmless, but you might >> want to add >> something like this in the top level event: >> >> <variable name=3D"href" >> value=3D"${abs-server-base}${work-path}?mode=3Dwork- >> details"/> >> >> That will set the right hand to display the "work >> details" screen. >> >> Alex >> >> On Aug 28, 2007, at 2:47 AM, tom tom wrote: >> >>> Hi, >>> >>> When I try to update the schedule parameters in >> the >>> workflow screen and press the schedule appearance >>> button >>> it gives the following error, >>> >>> what is this $href >>> >>> No file found at >>> >> > http://localhost/hypercontent/production/studentDetails/ >> >>> studentUpdates/$href >>> >>> my schedule.xml looks as follows. >>> >>> >>> >>> workflow binding=3D"/**/*.*"> >>> =E2=88=92 >>> <event name=3D"schedule-appearance" >>> permissions=3D"approve"> >>> <input label=3D"Please enter a beginning date as >>> YYYY-MM-DD [00-23]:[00-59]" name=3D"start-date" >>> pattern=3D"\d\d\d\d-\d\d-\d\d \d\d:\d\d" >> type=3D"text"/> >>> <input label=3D"Please enter an ending date" >>> name=3D"end-date" pattern=3D"\d\d\d\d-\d\d-\d\d >> \d\d:\d\d" >>> type=3D"text"/> >>> <input default=3D"-1" label=3D"Please enter the >> edition to >>> appear before the start date (-1 for invisible)" >>> name=3D"pre-edition" type=3D"text"/> >>> <input label=3D"Please enter the edition to appear >> on >>> the start date" name=3D"start-edition" type=3D"text"/> >>> <input default=3D"-1" label=3D"Please enter the >> edition to >>> appear on the end date (or -1 to disappear)" >>> name=3D"end-edition" type=3D"text"/> >>> <variable name=3D"scheduler" value=3D"${actor}"/> >>> <nq who=3D"${scheduler}"/> >>> <nq q=3D"scheduled"/> >>> =E2=88=92 >>> <exec >>> >> > command=3D"org.hypercontent.workflow.command.SetCurrentEdition"> >>> <with-param name=3D"edition" >> value=3D"${pre-edition}"/> >>> </exec> >>> </event> >>> =E2=88=92 >>> <q id=3D"scheduled"> >>> =E2=88=92 >>> <event name=3D"begin-appear" when=3D"${start-date}"> >>> =E2=88=92 >>> <exec >>> >> > command=3D"org.hypercontent.workflow.command.SetCurrentEdition"> >>> <with-param name=3D"edition" >> value=3D"${start-edition}"/> >>> </exec> >>> </event> >>> =E2=88=92 >>> <event name=3D"end-appear" when=3D"${end-date}"> >>> =E2=88=92 >>> <exec >>> >> > command=3D"org.hypercontent.workflow.command.SetCurrentEdition"> >>> <with-param name=3D"edition" >> value=3D"${end-edition}"/> >>> </exec> >>> <dq/> >>> <dq who=3D"${scheduler}"/> >>> </event> >>> =E2=88=92 >>> <event name=3D"cancel" who=3D"${scheduler}"> >>> <dq/> >>> <dq who=3D"${scheduler}"/> >>> </event> >>> </q> >>> </workflow >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> Pinpoint customers who are looking for what you >> sell. >>> http://searchmarketing.yahoo.com/ >>> >> >> >> > ----------------------------------------------------------------------=20= > --- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? >> Stop. >> Now Search log events and configuration files using >> AJAX and a browser. >> Download your FREE copy of Splunk now >> >> http://get.splunk.com/ >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________=20= > ______________ > Need a vacation? Get great deals > to amazing places on Yahoo! Travel. > http://travel.yahoo.com/ > |