jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-374

Changes aren't saved when updating Archiva Managed Snapshot Repository

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-beta-2
  • Component/s: repository interface
  • Labels:
    None

Description

Steps:

1) Log in as admin.
2) In the left menu, under Administration, click Repositories.
3) Edit Archiva Managed Snapshot Repository.
4) Since this is a snapshot repository, uncheck Releases Included.
5) Click Update Repository.

Notice that "Releases Included" is still set to "True" for Archiva Managed Snapshot Repository.

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MRM-407 "Scanned" is always set to true even if unchecked in the Edit Repository page

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. MRM-796 releases always activated in repositories

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dawn Angelito added a comment - 27/May/07 11:49 PM

Noticed that when you edit Archiva Managed Snapshot Repository, "Releases Included" is always set to True.

Show
Dawn Angelito added a comment - 27/May/07 11:49 PM Noticed that when you edit Archiva Managed Snapshot Repository, "Releases Included" is always set to True.
Hide
Permalink
Brett Porter added a comment - 29/Jul/07 11:55 PM

still seeing this in the latest version.

Show
Brett Porter added a comment - 29/Jul/07 11:55 PM still seeing this in the latest version.
Hide
Permalink
Maria Odea Ching added a comment - 08/Aug/07 9:11 PM

There is an issue regarding the checkbox tag in webwork if the default value is 'true'.

There is a fix for this but I think it's on Struts 2, see https://issues.apache.org/struts/browse/WW-992.

A solution for this, which is to add a CheckboxInterceptor and edit the checkbox.ftl, was also mention in this forum:
http://forums.opensymphony.com/thread.jspa?forumID=1&threadID=23601

It is also applicable to MRM-407.

Show
Maria Odea Ching added a comment - 08/Aug/07 9:11 PM There is an issue regarding the checkbox tag in webwork if the default value is 'true'. There is a fix for this but I think it's on Struts 2, see https://issues.apache.org/struts/browse/WW-992. A solution for this, which is to add a CheckboxInterceptor and edit the checkbox.ftl, was also mention in this forum: http://forums.opensymphony.com/thread.jspa?forumID=1&threadID=23601 It is also applicable to MRM-407.
Hide
Permalink
Brett Porter added a comment - 08/Aug/07 9:18 PM

I think it can be made to work, though - I've seen it. It required ensuring that it was set to the appropriate default value in the model (I think, false), and then setting the value it should be in the prepare() method of the action.

Perhaps we could look back at 0.9-alpha-2?

Show
Brett Porter added a comment - 08/Aug/07 9:18 PM I think it can be made to work, though - I've seen it. It required ensuring that it was set to the appropriate default value in the model (I think, false), and then setting the value it should be in the prepare() method of the action. Perhaps we could look back at 0.9-alpha-2?
Hide
Permalink
Maria Odea Ching added a comment - 08/Aug/07 9:34 PM

Ok, I'll look into that. Thanks!

Show
Maria Odea Ching added a comment - 08/Aug/07 9:34 PM Ok, I'll look into that. Thanks!
Hide
Permalink
Maria Odea Ching added a comment - 15/Aug/07 3:48 AM

Fixed in -r566068

  • Added the hack for the webwork checkbox in ConfigureRepositoryAction, same one used for 0.9-alpha-2
Show
Maria Odea Ching added a comment - 15/Aug/07 3:48 AM Fixed in -r566068
  • Added the hack for the webwork checkbox in ConfigureRepositoryAction, same one used for 0.9-alpha-2

People

  • Assignee:
    Maria Odea Ching
    Reporter:
    Dawn Angelito
Vote (0)
Watch (0)

Dates

  • Created:
    27/May/07 10:16 PM
    Updated:
    15/May/08 8:20 AM
    Resolved:
    15/Aug/07 3:48 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.