Timeline for Schema Title and ItemSchema Criterias are not fetching components
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 26, 2014 at 10:41 | comment | added | user918 | default storage was not pointing to db. | |
Aug 25, 2014 at 20:15 | comment | added | Nickoli Roussakov | Can you share the details of what was wrong in your config as an Answer to this question so that we can close the case? | |
Aug 24, 2014 at 13:55 | history | tweeted | twitter.com/#!/StackTridion/status/503541154118660096 | ||
Aug 24, 2014 at 12:12 | comment | added | user918 | It was a storage config issue. Thanks for help Nickoli. | |
Aug 24, 2014 at 11:29 | history | edited | user918 | CC BY-SA 3.0 |
added 83 characters in body
|
Aug 22, 2014 at 22:13 | comment | added | Nickoli Roussakov | At this point I would enable SQL logging with Hibernate and see what the DB query is being generated. Then I would run the DB query directly via SQL Manager and see what's in the query regarding schema where it includes the schema id/name (eliminate conditions in the WHERE clause until you find the culprit), and this should give you a hint on what's going wrong. Here is how to enable sql logging: tridion.stackexchange.com/a/3448/159 | |
Aug 22, 2014 at 15:53 | comment | added | user918 | Yes Nickoli, I checked the Broker DB as well as Storage config. If I am directly fetching a CP for a component with same schema then its getting fetched. But Criteria code is not working. While Querying , the Criterias are coming as null and hence its giving null results. There is no error coming. | |
Aug 22, 2014 at 12:48 | comment | added | Nickoli Roussakov | Your code looks correct. Are the components published to the correct CD target? Also, are they published from the publication you're querying, I.e. 55? | |
Aug 22, 2014 at 11:59 | history | edited | user918 | CC BY-SA 3.0 |
added 28 characters in body
|
Aug 22, 2014 at 10:51 | history | asked | user918 | CC BY-SA 3.0 |