Skip to content

Feature/AMP-30574/sectors mapping - #4199

Open
drossi-dg wants to merge 87 commits into
developfrom
feature/AMP-30574/sectors-mapping
Open

Feature/AMP-30574/sectors mapping#4199
drossi-dg wants to merge 87 commits into
developfrom
feature/AMP-30574/sectors-mapping

Conversation

@drossi-dg

Copy link
Copy Markdown
Contributor

No description provided.

Improvements in Endpoints.
Part of admin page
CRUD Sector Mappings and cleaning code
Updating all activities
Fix CRUD saving changes
Cleaning of files and functionalities related with "Update all activities" and Job updater
Functionality in Activity Form
Deleting secondary sectors mapped in Activity Form if an primary sector was deleted.
@jdeanquin-dgjdeanquin-dg changed the title Feature/amp 30574/sectors mappingFeature/AMP-30574/sectors mappingDec 28, 2023
}
}

public static void valuesValid(Collection possibleValues, Object value) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add something like if (possibleValues == null) { throw new IllegalArgumentException("possibleValues cannot be null"); } to avoid a nullpointer exception

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment threadamp/WEB-INF/src/org/digijava/module/aim/util/SectorUtil.java Outdated
Comment threadamp/WEB-INF/src/org/digijava/module/aim/util/SectorUtil.java
queryString = "select asm from " + AmpSectorMapping.class.getName() + " asm";
qry = session.createQuery(queryString);
col = qry.list();
session.flush();

@brianbrixbrianbrixDec 29, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering what get if we dont flush after a select operation. Because typically we should not flush after a select since there is no use for synchronizing the persistence context.. I think we should check this and rectify it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Observations made by Brian
jdeanquin-dg
jdeanquin-dg previously approved these changes Jun 11, 2024
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
@brianbrix
brianbrixforce-pushed the feature/AMP-30574/sectors-mapping branch from 75845e2 to cef4fb2CompareJune 14, 2024 15:18
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
@brianbrix
brianbrixforce-pushed the feature/AMP-30574/sectors-mapping branch from e4d6ea0 to 04e7a25CompareJune 15, 2024 21:53
Map primary and secondary sectors
@brianbrix
brianbrixforce-pushed the feature/AMP-30574/sectors-mapping branch from 04e7a25 to 32ee591CompareJune 15, 2024 22:03
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Map primary and secondary sectors
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@drossi-dg@jdeanquin-dg@brianbrix