Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3101

Init methods in DataOnDemand do not honour quantity attribute when loading existing entities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Complete
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: 1.2.4.RELEASE
    • Component/s: TESTING
    • Labels:
      None
    • Environment:
      n/a

      Description

      When creating init methods in DataOnDemand classes, the quantity attribute of the RooDataOnDemand annotation is not honoured when pre-loading database data. This can lead to excessive data being loaded if the quantity is below 10, or not enough if it exceeds 10. The to variable in the init method should be set to quantity.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            simonellistonball simon elliston ball
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: