I got a call this afternoon from a client to let me know she's getting an Ajax error when trying to view a trouble-ticket in the customer portal. I checked into it and was easily able to reproduce the error, so I was wondering what could be causing the problem. She was clicking on the view icon, however I noticed that clicking on the TT number of TT name resulted with the same error.
Mark
[i]If I could work while on horseback that's where I'd be doing it. There's nothing like riding... Gives new meaning to the phrase, ride to live... live to ride.[/i]
Could it be maybe some field that the REST user can't access?
I'm not sure but we created a special interface for the tickets, if we are trying to access some field that is hidden it may fail.
I just tested on the demo (<!-- m --><a class="postlink" href="http://corebos.org/demos/coreboscp">http://corebos.org/demos/coreboscp</a><!-- m -->) and it seems to be working ok.
There is a log file that I think is activated by default in the protected/runtime/application.log have a look there to see if you can get a more specific error.
[i]If I could work while on horseback that's where I'd be doing it. There's nothing like riding... Gives new meaning to the phrase, ride to live... live to ride.[/i]
<!-- m --><a class="postlink" href="https://github.com/tsolucio/coreBOSCP/commit/8239fc87a95b9599d072ff3a6121fdfdabd55ca1">https://github.com/tsolucio/coreBOSCP/c ... fdabd55ca1</a><!-- m -->
Its strange but it's still tossing the same error when attempting to view a trouble ticket. Opening it for an edit works fine of the CP, but viewing doesn't work. The CP user has create, edit, view privileges set in the system. Unless there are other settings in the system for CP and CP/user I'm not sure what else it could be.
Mark
[i]If I could work while on horseback that's where I'd be doing it. There's nothing like riding... Gives new meaning to the phrase, ride to live... live to ride.[/i]
[i]If I could work while on horseback that's where I'd be doing it. There's nothing like riding... Gives new meaning to the phrase, ride to live... live to ride.[/i]
just for the records: Mark let me in to his install and I reviewed the error. In the end it was an error in the comments and timecontrol records on help desk custom view. I added the fix to the project on GitHub
Have a nice weekend all <!-- s:-) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->