Project

General

Profile

« Previous | Next » 

Revision 59449

[Trunk | Admin Tools Library]:
1. AdminPortalRelationsController.java: In "getDivIdsFull()" (/{pid}/div/full) set RequestParam page as NOT required (bug fix in admin portal).
2. EntityService.java: [Bug fix]
a. In "deleteEntities()", delete entity, after all relations with it have been deleted.
b. Check equality of page entity with id with "equals" not "==".
3. PageService.java: [Bug fix]
a. Delete page, after all related divIds, related div help contents, related page help contents have been deleted.
b. Delete divId, after all related div help contents have been deleted.
c. In "getDivHelpContents()" and "getPageHelpContents()" param is "page.getRoute()" (not its id).

View differences:

AdminPortalRelationsController.java
138 138
    @RequestMapping(value = "/{pid}/div/full", method = RequestMethod.GET)
139 139
    public List<DivIdResponse> getDivIdsFull(@PathVariable PortalType portalType,
140 140
                                             @PathVariable(value = "pid") String pid,
141
                                             @RequestParam(required = true) String page) {
141
                                             @RequestParam(required = false) String page) {
142 142
        return divIdService.getDivIdsFull(page, null, pid);
143 143
    }
144 144

  

Also available in: Unified diff