Ticket #109 (new defect)
Error in Crash Course documentation
| Reported by: | sebduggan | Owned by: | dhughes |
|---|---|---|---|
| Type: | defect | Priority: | highest |
| Milestone: | 1.0 Documentation | Component: | Documentation |
| Version: | Severity: | normal | |
| Keywords: | spam | Cc: |
Description
The page "Configuring Relationships in Reactor" contains a mistake in the listing. The complete config file is listed as:
<reactor>
<config>
<project value="Scratch" />
<dsn value="Scratch" />
<type value="mssql" />
<mapping value="/ScratchData" />
<mode value="development" />
</config>
<object name="Customer">
<hasOne name="Address">
<relate from="addressId" to="addressId" />
</hasOne>
</object>
</reactor>
This omits the required <objects></objects> block, and causes any realtionships to fail. It should read:
<reactor>
<config>
<project value="Scratch" />
<dsn value="Scratch" />
<type value="mssql" />
<mapping value="/ScratchData" />
<mode value="development" />
</config>
<objects>
<object name="Customer">
<hasOne name="Address">
<relate from="addressId" to="addressId" />
</hasOne>
</object>
</objects>
</reactor>
Change History
Note: See
TracTickets for help on using
tickets.

