Conversation
51b2a6f to
28eecd1
Compare
| <class>org.sigmah.server.domain.profile.GlobalPermission</class> | ||
| <class>org.sigmah.server.domain.profile.OrgUnitProfile</class> | ||
| <class>org.sigmah.server.domain.profile.MainOrgUnitProfile</class> | ||
| <class>org.sigmah.server.domain.profile.SecondaryOrgUnitProfile</class> |
There was a problem hiding this comment.
It seems we have a problem here: those two classes does not exist. I guess these have been added at one point in the development process but removed later and someone forgot to remove these two lines while removing the classes themselves.
@ftavin, as the author of the commit, can you confirm? (and commit a fix)
There was a problem hiding this comment.
Also, it seems that 5 classes should be declared in this file while they are not (org.sigmah.server.domain.Framework*)
|
Class list fixed. |
|
Thanks! There is a test failure which is specifically on the branch which is not on The stack-trace leads to a code added in 11c3fc8: final ProfileDTO profile = Handlers.aggregateProfiles(context.getUser(), mapper).get(project.getOrgUnit().getId());Didn't see anything obviously wrong at first sight, @ftavin can you check it? Thanks. |
|
Fixed ! |
|
New fix : we now have exactly the same test failure than the master branch ! |
Change-Id: I0281a1aec3862691e70b98f07c4358775cb85307
(refs #620) Change-Id: I5f06a6bcf21e4a1cdfaa2995ea87441907ee4ce6
(refs #620) Change-Id: Ic1c025b78e2c84866ba88f4361241e52a911951e
(refs #620) Change-Id: If9268f6e8dfb82366f9b8fd11007a0dda6e49333
(refs #620) Change-Id: If695fe64c68fa0eea8d7d40dbc1e510dc966c539
(refs #620) Change-Id: I5713e98efccfacb6a2992e3959e130edf9d18a62
…ROJECTS (refs #620) Change-Id: Ic3aa1b7e802d385f22460007cc32963a2a5b7423
(refs #620) For the moment, the team member view page rely on UserPermission data for non owners as an automatic Hibernate filter is filtering on these data. Change-Id: I17a6e7768196308fb56412f4b6672ff9f1e9f8fe
(refs #620) Change-Id: I7ecc4e86f205cabbd8aea6eb2225619c804d7adc
Change-Id: Icdf69816553291e54b88643c96713448c88bc93a
(refs #620) Change-Id: I1d38410f6c43fd5f8cc5883e2727c9c2012ab901
(refs #620) Change-Id: Ib1b9d0bbd729bf1f082306c1ac49c86a070d9de7
(refs #620) Change-Id: I2571f0f838ca05bad20ebf58cdd25d0ffaa99cd1
(refs #620) Change-Id: I4396ed81ef69c88be4726f67872984b86bf0f761
(refs #620) Change-Id: I45af397fb697f677c36a775cff9d933a12eb5990
The problem is that a project can have several OrgUnits in the database. But concretely, the application doesn't allow this situation and the code is already making the assumption that a project has only one OrgUnit. But the mean to get the project's OrgUnit was not very clean so let's make it easier. Change-Id: Ifc628926273268b038d9c4ea1887dd9c22a16e42
(refs #243) Change-Id: Ibc6ee1d7c1a5920bc7bce75600a601627494def8
(refs #243) Change-Id: I750df03e831a367881879bfac71f444183352a5e
(refs #243) Change-Id: I75171e7e9dec5696b49455582794964d6599ddaa
…y org units (refs #243) Change-Id: I547846f07e5bb37ef4cc52ec1901c081d625dbc1
(refs sigmah-dev#106) Change-Id: I5e8b99679c929b1207208ad685962c2e34685ca3
| "LEFT JOIN f.frameworkHierarchies fh " + | ||
| "LEFT JOIN fh.frameworkElements fe " + | ||
| "WHERE pm.id = :projectModelId " + | ||
| "AND f.availabilityStatus = 'AVAILABLE' " + |
There was a problem hiding this comment.
Replace by HQL argument (see comment on FrameworkFulfillmentHibernateDAO)
There was a problem hiding this comment.
@numero-six By a JPQL argument.
|
Woaw, I've made tens of comments 😮 @ftavin no panic! I'm globally quite happy with the code and I think most of the things I've noted are secondary details that should not prevent a merge. Most of them should be fixed in seconds. I let @osarrat see, according to the time AtolCD have and priorities, if the lil' time to spend worth it. |
|
Merging to meet deadlines but fixes of above comments will still be welcomed |
Mantis issues:
Tools for devs: