Ticket #109 (new defect)

Opened 2 years ago

Last modified 3 months ago

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

Changed 3 months ago by mark.drew@…

  • milestone set to 1.0 Release

Changed 3 months ago by mark.drew@…

  • milestone changed from 1.0 Release to 1.0 Documentation

Changed 3 months ago by TomChiverton

  • keywords spam added
Note: See TracTickets for help on using tickets.