Uploaded image for project: 'Change Request Application'
  1. Change Request Application
  2. CRAPP-259

HQL exception when calling ChangeRequestStorageManager.countChangeRequests(false)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.5
    • 1.4.5
    • None
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      When calling ChangeRequestStorageManager.countChangeRequests(false), DefaultChangeRequestStorageManager.getAllChangeRequestQueryStatement(false) is called, the following line then produces an extraneous comma before where:

      statement = String.format(", BaseObject as obj , StringProperty as obj_status, " + "where doc.fullName=obj.name and obj.className='%s' ", this.entityReferenceSerializer.serialize(CHANGE_REQUEST_XCLASS));

      Which in turns causes an HQL Syntax error.

      Attachments

        Activity

          People

            surli Simon Urli
            rjakse Raphaƫl Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: