Record Producers wont submit

sbolton
Mega Expert

I have cloned down from my live instance, when I submit a record producer (in any application) it does not submit and it redirects me to service_catalog.do.   This all started after i cloned down from my live instance.   What could be the problem.

1 ACCEPTED SOLUTION

sbolton
Mega Expert

I had a page with the URL   service_catalog.do that was overriding the OOB service_catalog.do   I changed this to service_catalogs.do and it started submitting the Record Producers.


View solution in original post

4 REPLIES 4

Valor1
Giga Guru

Sean, could you provide a bit more detail?


There is probably an issue in your record producer script; that's what usually causes it. If you could:


  1. Check the syntax of your producer script
  2. Post the script here
  3. turn the "Debug Log" module on and add reply with the results here, that would be helpful.

ok this is weird.   I had noticed the redirect commented out so i un commented it yesterday and it still redirected me to service_catalog.do


with the redirect still commented out If i go into the service catalog-->Record Producers and select the record producer in question and then click 'try it' the record producer will submit into the system with the correct redirect.



current.u_incident_description = producer.u_incident_description_detailed + producer.u_incident_description_how;


current.u_employee = producer.u_employee_name;


current.u_employee_name = producer.u_employee;




gs.include("FormInfoHeader");


var fi = new FormInfoHeader();


var s = 'Your HSSE Incident has been submitted.<br/>';


s += 'We will contact you if we need any further information.<br/>';


fi.addMessage(s);


//producer.redirect = "hsse_quality_incident_status.do";



7-1-2014 9-21-16 AM.png


That is actually the client log, not the server log.


I was hoping for the server-side log that prints out on the bottom of the NEXT page when you select the "Debug Log" and "Debug Business Rules (details)" modules in succession.



If I understand you correctly, if you (as an admin) go to Self-Service >Service Catalog > [record producer], it doesn't work, but as an admin, if you go to Service Catalog > Record Producers > [record producer] and click "Try it" it does work.



To make sure you're modifying the same item, go to the NON working on, R-click on the header and choose "Personalize Item" to make sure the producer script is the same.



Screen Shot 2014-07-02 at 5.22.31 PM.png


sbolton
Mega Expert

I had a page with the URL   service_catalog.do that was overriding the OOB service_catalog.do   I changed this to service_catalogs.do and it started submitting the Record Producers.