I am trying to track down an error that I see in when viewing an edition by clicking the preview button under the publishing tab which launches the following URL:
I get the following error:
There was a repository problem performing the operation: Did not find rx:erauphoto
I tried adding an image to the site called erauphoto, but it did not resolve the problem.
What are next steps I can take to further troubleshoot this?
That error isn’t caused by not having a image (content item) called erauphoto, but rather by not having a content type called erauphoto.
What is the JSR-100 query for that content list? It sounds like it must be something like:
select rx:sys_contentid, rx:sys_folderid from rx:erauphoto where jcr:path like '//Sites/YourSiteNameHere%'
Usually content lists are more like:
select rx:sys_contentid, rx:sys_folderid from rx:rffimage where jcr:path like '//Sites/YourSiteNameHere%'
I think you’re on the right track, although it’s also possible a missing template can cause this error. In either case, the place to start is the JCR Query. Use the Query Test JSP. If your query is invalid, it will report better errors than the content list will.
What is this Query Test JSP you speak of and how do you use it?
Go to: http://<MyServer>:9992/Rhythmyx/test/search.jsp
It’s pretty much self explanatory. Copy and Paste any JCR Query and press the Execute button.
It turns out that we removed the erauphoto content type but did not update the jsr-100 query used to assemble the content list. Once we did this the problem went away.
Thanks for the help.