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

Changing @SessionScoped to @ViewScoped makes entity creation to silently fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: None
    • Component/s: JSF
    • Labels:
    • Environment:
      Windows 7, jetty, jdk1.6.0_25, chrome 18.0.1025.168 m, firefox 9.0.1

      Description

      To reproduce:
      roo script bikeshop.roo
      Edit SupplierBean and add
      @ManagedBean(name = "supplierBean")
      @ViewScoped
      mvn jetty:run
      Create Supplier won't show the creation dialog and there is no console log.

      Is SessionBean the proper scope to be the default one? I try to avoid it because it usually makes things to not be refreshed when they should..

      Regards.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            domgom Domingo Gómez García
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified